Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.772/1.772, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.807/1.807, allocations: 251.7 MB / 0.5092 GB, free: 3.082 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.001469/0.001469, allocations: 63.91 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5868, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06058/0.6474, allocations: 61.21 MB / 0.7843 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.6667, allocations: 11.87 MB / 0.7959 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.6693, allocations: 55.69 kB / 0.7959 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.6715, allocations: 0.6869 MB / 0.7966 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.6788, allocations: 1.946 MB / 0.7985 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.6828, allocations: 1.215 MB / 0.7997 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005036/0.6879, allocations: 3.07 MB / 0.8027 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.6902, allocations: 1.104 MB / 0.8038 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.6939, allocations: 1.315 MB / 0.805 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.6959, allocations: 0.8945 MB / 0.8059 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.6963, allocations: 116 kB / 0.806 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.6996, allocations: 1.423 MB / 0.8074 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.7, allocations: 294.8 kB / 0.8077 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.7011, allocations: 0.6958 MB / 0.8084 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.705, allocations: 2.287 MB / 0.8106 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.705, allocations: 0 / 0.8106 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.619e-06/0.705, allocations: 0 / 0.8106 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.705, allocations: 3.938 kB / 0.8106 GB, free: 4.453 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003151/0.7082, allocations: 1.73 MB / 0.8123 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7082, allocations: 8.031 kB / 0.8123 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.7104, allocations: 410.8 kB / 0.8127 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7125, allocations: 1.105 MB / 0.8138 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.7129, allocations: 117.9 kB / 0.8139 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.713, allocations: 76 kB / 0.814 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.715, allocations: 1.012 MB / 0.8149 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.715, allocations: 0 / 0.8149 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.7151, allocations: 32 kB / 0.815 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.7151, allocations: 23.94 kB / 0.815 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.7174, allocations: 0.8781 MB / 0.8159 GB, free: 14.89 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.00638/0.7238, allocations: 5.011 MB / 0.8208 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.7273, allocations: 0.833 MB / 0.8216 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007639/0.728, allocations: 320.5 kB / 0.8219 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.7287, allocations: 0.9029 MB / 0.8228 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7288, allocations: 39 kB / 0.8228 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/0.7288, allocations: 0 / 0.8228 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.007343/0.7361, allocations: 1.811 MB / 0.8246 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7362, allocations: 59.84 kB / 0.8246 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.7378, allocations: 1.08 MB / 0.8257 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.7379, allocations: 37.7 kB / 0.8257 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.7384, allocations: 0.5274 MB / 0.8262 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.7386, allocations: 165.6 kB / 0.8264 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.7388, allocations: 142.2 kB / 0.8265 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7389, allocations: 334 kB / 0.8268 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009104/0.7399, allocations: 319.2 kB / 0.8271 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.741, allocations: 0.5395 MB / 0.8277 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.7427, allocations: 0.7326 MB / 0.8284 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.7428, allocations: 4 kB / 0.8284 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003029/0.7458, allocations: 1.058 MB / 0.8294 GB, free: 212 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.7458, allocations: 8 kB / 0.8294 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.7459, allocations: 7.938 kB / 0.8294 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.7474, allocations: 312.6 kB / 0.8297 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.7481, allocations: 139.8 kB / 0.8299 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.7498, allocations: 0.919 MB / 0.8308 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7512, allocations: 155.2 kB / 0.8309 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7513, allocations: 39.97 kB / 0.8309 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.7527, allocations: 0.5246 MB / 0.8315 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.7539, allocations: 0.5317 MB / 0.832 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001761/0.7556, allocations: 0.7248 MB / 0.8327 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/0.7557, allocations: 0 / 0.8327 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003019/0.7587, allocations: 1.042 MB / 0.8337 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7587, allocations: 12.03 kB / 0.8337 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7587, allocations: 4 kB / 0.8337 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.7599, allocations: 308.5 kB / 0.834 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.7605, allocations: 131.8 kB / 0.8341 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.762, allocations: 0.9185 MB / 0.835 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.7635, allocations: 139.5 kB / 0.8352 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.7636, allocations: 31.98 kB / 0.8352 GB, free: 10.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.7638, allocations: 228 kB / 0.8354 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.7642, allocations: 110.6 kB / 0.8355 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.7669, allocations: 0.9951 MB / 0.8365 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.7669, allocations: 8 kB / 0.8365 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7669, allocations: 3.938 kB / 0.8365 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.7669, allocations: 3.984 kB / 0.8365 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.7733, allocations: 2.356 MB / 0.8388 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.7734, allocations: 4 kB / 0.8388 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.7737, allocations: 63.89 kB / 0.8389 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.7747, allocations: 312.7 kB / 0.8392 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.7748, allocations: 16 kB / 0.8392 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.7763, allocations: 0.9387 MB / 0.8401 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.7763, allocations: 7.922 kB / 0.8401 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.7801, allocations: 1.196 MB / 0.8413 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.7807, allocations: 271.5 kB / 0.8415 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.781, allocations: 15.94 kB / 0.8416 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/0.782, allocations: 75.91 kB / 0.8416 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.7821, allocations: 35.95 kB / 0.8417 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.7822, allocations: 31.92 kB / 0.8417 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001369/0.7835, allocations: 0.7553 MB / 0.8424 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7835, allocations: 0 / 0.8424 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001962/0.7855, allocations: 0.5692 MB / 0.843 GB, free: 1.871 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009826/0.7865, allocations: 366.3 kB / 0.8433 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003665/0.7902, allocations: 1.198 MB / 0.8445 GB, free: 320 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7902, allocations: 0 / 0.8445 GB, free: 320 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.7912, allocations: 383 kB / 0.8449 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.794, allocations: 0.5301 MB / 0.8454 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.8, allocations: 2.082 MB / 0.8474 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009095/0.801, allocations: 1.066 MB / 0.8485 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00122/0.8022, allocations: 225.1 kB / 0.8487 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.8025, allocations: 79.42 kB / 0.8488 GB, free: 11.89 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/0.8025, allocations: 0 / 0.8488 GB, free: 11.89 MB / 0.67 GB Notification: Performance of Templates: time 0.04553/0.848, allocations: 25.48 MB / 0.8736 GB, free: 2.742 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)