Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 252 MB / 0.5102 GB, free: 4.723 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.0005312, allocations: 16 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6317, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07212/0.7038, allocations: 69.41 MB / 0.7959 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.7219, allocations: 11.8 MB / 0.8074 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.7247, allocations: 51.62 kB / 0.8075 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.7269, allocations: 0.5704 MB / 0.808 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.7338, allocations: 1.881 MB / 0.8099 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.7373, allocations: 0.9458 MB / 0.8108 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006808/0.7441, allocations: 4.76 MB / 0.8154 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.7463, allocations: 0.9898 MB / 0.8164 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.7496, allocations: 1.264 MB / 0.8176 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.7521, allocations: 1.058 MB / 0.8187 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.7524, allocations: 59.94 kB / 0.8187 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.7556, allocations: 0.9238 MB / 0.8196 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.756, allocations: 266.7 kB / 0.8199 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007042/0.7567, allocations: 360.9 kB / 0.8202 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.7596, allocations: 2.073 MB / 0.8223 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7596, allocations: 0 / 0.8223 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7597, allocations: 0 / 0.8223 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.7597, allocations: 0 / 0.8223 GB, free: 10.71 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003343/0.763, allocations: 1.791 MB / 0.824 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7631, allocations: 8.031 kB / 0.824 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007296/0.7638, allocations: 238 kB / 0.8242 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.7662, allocations: 1.419 MB / 0.8256 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.7663, allocations: 78 kB / 0.8257 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.7665, allocations: 107.9 kB / 0.8258 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.7685, allocations: 1.108 MB / 0.8269 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.7686, allocations: 0 / 0.8269 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.7686, allocations: 44 kB / 0.8269 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.7687, allocations: 24 kB / 0.8269 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.7705, allocations: 0.9134 MB / 0.8278 GB, free: 4.836 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.7771, allocations: 4.915 MB / 0.8326 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7785, allocations: 0.6468 MB / 0.8333 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.7792, allocations: 363.1 kB / 0.8336 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.78, allocations: 0.8315 MB / 0.8344 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.7801, allocations: 35.12 kB / 0.8345 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 4.107e-06/0.7801, allocations: 3.938 kB / 0.8345 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.006569/0.7867, allocations: 1.881 MB / 0.8363 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7867, allocations: 55.97 kB / 0.8364 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.7885, allocations: 1.19 MB / 0.8375 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.7886, allocations: 45.7 kB / 0.8376 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.7892, allocations: 0.6025 MB / 0.8382 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.7894, allocations: 216.9 kB / 0.8384 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.7895, allocations: 12 kB / 0.8384 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7896, allocations: 333.9 kB / 0.8387 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.7902, allocations: 297.8 kB / 0.839 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.791, allocations: 0.5103 MB / 0.8395 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.7917, allocations: 363 kB / 0.8398 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7918, allocations: 0 / 0.8398 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004247/0.796, allocations: 1.387 MB / 0.8412 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.7962, allocations: 201.9 kB / 0.8414 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7962, allocations: 4 kB / 0.8414 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.7968, allocations: 152.7 kB / 0.8415 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.7974, allocations: 163.8 kB / 0.8417 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008208/0.7982, allocations: 0.7045 MB / 0.8424 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7996, allocations: 171.1 kB / 0.8425 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.7997, allocations: 35.98 kB / 0.8426 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7997, allocations: 4 kB / 0.8426 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003919/0.8036, allocations: 1.246 MB / 0.8438 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8036, allocations: 8.062 kB / 0.8438 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.8041, allocations: 144.7 kB / 0.8439 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.8048, allocations: 163.8 kB / 0.8441 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/0.8055, allocations: 0.7045 MB / 0.8448 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.8069, allocations: 163.3 kB / 0.8449 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.807, allocations: 31.98 kB / 0.8449 GB, free: 2.535 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008235/0.8078, allocations: 420.8 kB / 0.8454 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.8083, allocations: 142.2 kB / 0.8455 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/0.8126, allocations: 1.392 MB / 0.8468 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.8126, allocations: 11.98 kB / 0.8469 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.8126, allocations: 0 / 0.8469 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00372/0.8163, allocations: 1.228 MB / 0.8481 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.8232, allocations: 2.727 MB / 0.8507 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.8233, allocations: 448 / 0.8507 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.8238, allocations: 131.8 kB / 0.8508 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.8243, allocations: 132.8 kB / 0.851 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.8244, allocations: 23.98 kB / 0.851 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.8288, allocations: 2.431 MB / 0.8534 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8288, allocations: 8.031 kB / 0.8534 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.8339, allocations: 1.848 MB / 0.8552 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/0.8347, allocations: 331.1 kB / 0.8555 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.8351, allocations: 19.98 kB / 0.8555 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8361, allocations: 87.91 kB / 0.8556 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.8363, allocations: 64.27 kB / 0.8557 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.8364, allocations: 31.98 kB / 0.8557 GB, free: 7.125 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001547/0.8379, allocations: 0.8541 MB / 0.8565 GB, free: 6.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8379, allocations: 0 / 0.8565 GB, free: 6.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002546/0.8405, allocations: 0.7057 MB / 0.8572 GB, free: 5.562 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.8415, allocations: 413.4 kB / 0.8576 GB, free: 5.152 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.8443, allocations: 1.164 MB / 0.8587 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8443, allocations: 0 / 0.8587 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.8458, allocations: 0.6033 MB / 0.8593 GB, free: 3.375 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/0.8498, allocations: 0.7572 MB / 0.8601 GB, free: 2.621 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.855, allocations: 2.758 MB / 0.8628 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.856, allocations: 1.168 MB / 0.8639 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001605/0.8577, allocations: 303 kB / 0.8642 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.858, allocations: 103.4 kB / 0.8643 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/0.858, allocations: 4 kB / 0.8643 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of Templates: time 0.05379/0.9118, allocations: 29.42 MB / 0.893 GB, free: 1.152 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: