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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 192.6 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.742 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.603/1.603, allocations: 251.6 MB / 0.5088 GB, free: 3.309 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.001502/0.001502, allocations: 67.89 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5795, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07148/0.651, allocations: 74.7 MB / 0.7968 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.6715, allocations: 12.67 MB / 0.8091 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.6749, allocations: 55.62 kB / 0.8092 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.6779, allocations: 0.6799 MB / 0.8098 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008093/0.6861, allocations: 2.24 MB / 0.812 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.6903, allocations: 1.237 MB / 0.8132 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007354/0.6977, allocations: 5.502 MB / 0.8186 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.6998, allocations: 1.175 MB / 0.8198 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.703, allocations: 1.357 MB / 0.8211 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.7049, allocations: 1.174 MB / 0.8222 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.7051, allocations: 72 kB / 0.8223 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.7083, allocations: 1.259 MB / 0.8235 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.7088, allocations: 306.6 kB / 0.8238 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7099, allocations: 0.8084 MB / 0.8246 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.7138, allocations: 2.765 MB / 0.8273 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7139, allocations: 4 kB / 0.8273 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7139, allocations: 0 / 0.8273 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.751e-05/0.7139, allocations: 0 / 0.8273 GB, free: 2.785 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.004347/0.7183, allocations: 2.071 MB / 0.8293 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7183, allocations: 8.031 kB / 0.8293 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.7192, allocations: 234.8 kB / 0.8296 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.7216, allocations: 1.47 MB / 0.831 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.7216, allocations: 74 kB / 0.8311 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.7218, allocations: 108 kB / 0.8312 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.7237, allocations: 1.1 MB / 0.8323 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.7238, allocations: 0 / 0.8323 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/0.7239, allocations: 40 kB / 0.8323 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.7239, allocations: 24 kB / 0.8323 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.7258, allocations: 0.8822 MB / 0.8332 GB, free: 12.62 MB / 0.6544 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.006215/0.732, allocations: 4.907 MB / 0.838 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.7334, allocations: 0.6194 MB / 0.8386 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.7341, allocations: 347.6 kB / 0.8389 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.7348, allocations: 0.8238 MB / 0.8397 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7349, allocations: 35.12 kB / 0.8397 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.005e-06/0.7349, allocations: 3.938 kB / 0.8397 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.00699/0.7419, allocations: 1.685 MB / 0.8414 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7419, allocations: 59.95 kB / 0.8414 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.7435, allocations: 1.206 MB / 0.8426 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.7436, allocations: 37.7 kB / 0.8427 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.7441, allocations: 0.6064 MB / 0.8433 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.7443, allocations: 216.8 kB / 0.8435 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.7446, allocations: 154.6 kB / 0.8436 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7447, allocations: 334 kB / 0.8439 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.7454, allocations: 292.7 kB / 0.8442 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.7462, allocations: 495.4 kB / 0.8447 GB, free: 192 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.7476, allocations: 0.7129 MB / 0.8454 GB, free: 15.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.7476, allocations: 4 kB / 0.8454 GB, free: 15.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004484/0.7521, allocations: 1.273 MB / 0.8466 GB, free: 14.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.7521, allocations: 9.875 kB / 0.8466 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7521, allocations: 4 kB / 0.8466 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.7527, allocations: 137 kB / 0.8468 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.7533, allocations: 159.8 kB / 0.8469 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008033/0.7541, allocations: 0.6967 MB / 0.8476 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.7554, allocations: 162.1 kB / 0.8478 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.7555, allocations: 31.98 kB / 0.8478 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001087/0.7565, allocations: 0.5527 MB / 0.8483 GB, free: 12.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007744/0.7573, allocations: 495.8 kB / 0.8488 GB, free: 11.81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.7586, allocations: 0.7088 MB / 0.8495 GB, free: 11.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.7587, allocations: 0 / 0.8495 GB, free: 11.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004374/0.763, allocations: 1.257 MB / 0.8507 GB, free: 9.781 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7631, allocations: 8 kB / 0.8507 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7631, allocations: 4 kB / 0.8507 GB, free: 9.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.7636, allocations: 137 kB / 0.8509 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.7641, allocations: 167.8 kB / 0.851 GB, free: 9.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007567/0.7649, allocations: 0.6927 MB / 0.8517 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7661, allocations: 139.5 kB / 0.8518 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.7662, allocations: 32 kB / 0.8519 GB, free: 8.582 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.7664, allocations: 232 kB / 0.8521 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.7667, allocations: 138.2 kB / 0.8522 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.771, allocations: 1.252 MB / 0.8534 GB, free: 6.941 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.771, allocations: 12 kB / 0.8534 GB, free: 6.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.771, allocations: 0 / 0.8534 GB, free: 6.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003863/0.7749, allocations: 1.107 MB / 0.8545 GB, free: 5.785 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006556/0.7815, allocations: 2.59 MB / 0.8571 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.7815, allocations: 4 kB / 0.8571 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.782, allocations: 119.8 kB / 0.8572 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.7825, allocations: 129.1 kB / 0.8573 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.7826, allocations: 27.86 kB / 0.8573 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/0.7872, allocations: 2.334 MB / 0.8596 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.7872, allocations: 7.938 kB / 0.8596 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.7925, allocations: 1.699 MB / 0.8613 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.7932, allocations: 303.1 kB / 0.8616 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.7934, allocations: 16 kB / 0.8616 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/0.7943, allocations: 79.97 kB / 0.8616 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.7944, allocations: 68.23 kB / 0.8617 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/0.7945, allocations: 27.98 kB / 0.8617 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001258/0.7958, allocations: 0.8619 MB / 0.8626 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7958, allocations: 0 / 0.8626 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001831/0.7976, allocations: 0.7173 MB / 0.8633 GB, free: 12.46 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/0.7985, allocations: 429.4 kB / 0.8637 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.801, allocations: 1.106 MB / 0.8648 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.801, allocations: 0 / 0.8648 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.8025, allocations: 0.5604 MB / 0.8653 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.8057, allocations: 0.7855 MB / 0.8661 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8095, allocations: 2.739 MB / 0.8688 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.8102, allocations: 1.176 MB / 0.8699 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001144/0.8113, allocations: 299 kB / 0.8702 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.8116, allocations: 103.4 kB / 0.8703 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of SimCode: time 2.11e-07/0.8116, allocations: 0 / 0.8703 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of Templates: time 0.04753/0.8591, allocations: 30.5 MB / 0.9001 GB, free: 7.059 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (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)