Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009553/0.0009553, allocations: 98.97 kB / 16.02 MB, free: 80 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.0009952/0.0009953, allocations: 185.7 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6925/0.6925, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 8.781 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 77.54 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3593/0.5209, allocations: 59.66 MB / 0.6182 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.5411, allocations: 11.92 MB / 0.6299 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.5443, allocations: 52.84 kB / 0.6299 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.5465, allocations: 0.5405 MB / 0.6304 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007738/0.5543, allocations: 1.813 MB / 0.6322 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.5581, allocations: 1.076 MB / 0.6333 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.5646, allocations: 3.898 MB / 0.6371 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.5665, allocations: 0.904 MB / 0.6379 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.5703, allocations: 1.112 MB / 0.639 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.5721, allocations: 0.8625 MB / 0.6399 GB, free: 1.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.5722, allocations: 41.62 kB / 0.6399 GB, free: 1.211 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5754, allocations: 1.337 MB / 0.6412 GB, free: 460 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.5757, allocations: 211 kB / 0.6414 GB, free: 300 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008543/0.5765, allocations: 0.6279 MB / 0.642 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.58, allocations: 2.19 MB / 0.6442 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.5801, allocations: 0.5938 kB / 0.6442 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5801, allocations: 3.938 kB / 0.6442 GB, free: 14.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.5801, allocations: 4 kB / 0.6442 GB, free: 14.45 MB / 478.1 MB 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.003177/0.5833, allocations: 1.487 MB / 0.6456 GB, free: 13.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5833, allocations: 9.5 kB / 0.6456 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.5855, allocations: 477.3 kB / 0.6461 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.5876, allocations: 1.125 MB / 0.6472 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.588, allocations: 126.9 kB / 0.6473 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5881, allocations: 82.03 kB / 0.6474 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.5901, allocations: 1.012 MB / 0.6484 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5901, allocations: 2 kB / 0.6484 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.5902, allocations: 34.69 kB / 0.6484 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5903, allocations: 20.03 kB / 0.6484 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.5926, allocations: 0.9069 MB / 0.6493 GB, free: 11 MB / 478.1 MB 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.006596/0.5992, allocations: 4.889 MB / 0.6541 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.6028, allocations: 0.9014 MB / 0.655 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/0.6036, allocations: 320.7 kB / 0.6553 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006769/0.6043, allocations: 0.9025 MB / 0.6562 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.6044, allocations: 38.56 kB / 0.6562 GB, free: 3.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.6044, allocations: 4 kB / 0.6562 GB, free: 3.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007848/0.6122, allocations: 1.954 MB / 0.6581 GB, free: 1.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6123, allocations: 59.39 kB / 0.6582 GB, free: 1.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.614, allocations: 1.051 MB / 0.6592 GB, free: 372 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.614, allocations: 41.64 kB / 0.6592 GB, free: 324 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.6145, allocations: 0.5273 MB / 0.6598 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.6147, allocations: 153.8 kB / 0.6599 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.6148, allocations: 49.69 kB / 0.6599 GB, free: 15.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6149, allocations: 329.9 kB / 0.6603 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.6158, allocations: 328.9 kB / 0.6606 GB, free: 14.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.6169, allocations: 0.5228 MB / 0.6611 GB, free: 14.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.6187, allocations: 0.7363 MB / 0.6618 GB, free: 13.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6187, allocations: 0 / 0.6618 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003759/0.6225, allocations: 1.211 MB / 0.663 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.6226, allocations: 213.3 kB / 0.6632 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6226, allocations: 4 kB / 0.6632 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.6239, allocations: 336.7 kB / 0.6635 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.6245, allocations: 127.8 kB / 0.6636 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.626, allocations: 0.9434 MB / 0.6646 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.6274, allocations: 199.2 kB / 0.6647 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.6275, allocations: 27.98 kB / 0.6648 GB, free: 10.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.6275, allocations: 5.719 kB / 0.6648 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003352/0.6309, allocations: 1.062 MB / 0.6658 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6309, allocations: 7.984 kB / 0.6658 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.632, allocations: 326.9 kB / 0.6661 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.6326, allocations: 127.8 kB / 0.6663 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.634, allocations: 0.927 MB / 0.6672 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.6354, allocations: 176.1 kB / 0.6673 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.6354, allocations: 27.98 kB / 0.6674 GB, free: 7.711 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0006042/0.6361, allocations: 352.9 kB / 0.6677 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.6362, allocations: 110.6 kB / 0.6678 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.6387, allocations: 0.9883 MB / 0.6688 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6387, allocations: 4 kB / 0.6688 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6387, allocations: 0 / 0.6688 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.6387, allocations: 7.984 kB / 0.6688 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.6441, allocations: 2.261 MB / 0.671 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6442, allocations: 4 kB / 0.671 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6444, allocations: 64.23 kB / 0.671 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.6455, allocations: 332.4 kB / 0.6714 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.6456, allocations: 12 kB / 0.6714 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.6471, allocations: 0.9727 MB / 0.6723 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6472, allocations: 3.938 kB / 0.6723 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.651, allocations: 1.257 MB / 0.6736 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.6516, allocations: 287.4 kB / 0.6738 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6517, allocations: 11.98 kB / 0.6738 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.6526, allocations: 111.9 kB / 0.674 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.6527, allocations: 35.95 kB / 0.674 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.6528, allocations: 19.98 kB / 0.674 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.654, allocations: 0.743 MB / 0.6747 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.654, allocations: 4 kB / 0.6747 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001745/0.6557, allocations: 0.5613 MB / 0.6753 GB, free: 15.38 MB / 0.4981 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 (33): * Single equations (assignments): 28 * 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.0009101/0.6567, allocations: 385 kB / 0.6756 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.6599, allocations: 1.161 MB / 0.6768 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.66, allocations: 0 / 0.6768 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.6609, allocations: 374.5 kB / 0.6771 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.6637, allocations: 0.4917 MB / 0.6776 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.6694, allocations: 2.547 MB / 0.6801 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.6701, allocations: 1.065 MB / 0.6811 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009913/0.6711, allocations: 214.6 kB / 0.6814 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.6713, allocations: 75.42 kB / 0.6814 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.6713, allocations: 3.938 kB / 0.6814 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.04406/0.7154, allocations: 23.81 MB / 0.7047 GB, free: 1.48 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)