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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4898/0.4898, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009911, allocations: 97.53 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.316, allocations: 70.07 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04941/0.3654, allocations: 60.78 MB / 0.6168 GB, free: 236 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.3821, allocations: 12.06 MB / 0.6286 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.3849, allocations: 55.62 kB / 0.6287 GB, free: 4.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.3869, allocations: 0.5438 MB / 0.6292 GB, free: 3.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.3926, allocations: 1.805 MB / 0.631 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.3954, allocations: 1.073 MB / 0.632 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004751/0.4002, allocations: 3.923 MB / 0.6358 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4017, allocations: 0.9295 MB / 0.6367 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.4041, allocations: 1.167 MB / 0.6379 GB, free: 10.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.4055, allocations: 0.8982 MB / 0.6388 GB, free: 9.691 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.4057, allocations: 56 kB / 0.6388 GB, free: 9.637 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.4093, allocations: 1.353 MB / 0.6401 GB, free: 8.281 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.4097, allocations: 238.8 kB / 0.6404 GB, free: 8.047 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.4109, allocations: 0.6333 MB / 0.641 GB, free: 7.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.4144, allocations: 2.24 MB / 0.6432 GB, free: 5.164 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4144, allocations: 0 / 0.6432 GB, free: 5.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4145, allocations: 4 kB / 0.6432 GB, free: 5.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.4145, allocations: 3.938 kB / 0.6432 GB, free: 5.156 MB / 458.7 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.003675/0.4182, allocations: 1.715 MB / 0.6449 GB, free: 3.379 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4182, allocations: 12.02 kB / 0.6449 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.4204, allocations: 406.8 kB / 0.6453 GB, free: 2.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.4226, allocations: 1.121 MB / 0.6463 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.423, allocations: 121.9 kB / 0.6465 GB, free: 1.672 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4231, allocations: 76 kB / 0.6465 GB, free: 1.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.4251, allocations: 0.9855 MB / 0.6475 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.4251, allocations: 4 kB / 0.6475 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.4252, allocations: 36 kB / 0.6475 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4253, allocations: 16 kB / 0.6476 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.4276, allocations: 0.8509 MB / 0.6484 GB, free: 15.66 MB / 474.7 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.006299/0.4339, allocations: 4.839 MB / 0.6531 GB, free: 10.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.4373, allocations: 0.792 MB / 0.6539 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/0.4381, allocations: 304.6 kB / 0.6542 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/0.4388, allocations: 0.9103 MB / 0.6551 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.4389, allocations: 42.5 kB / 0.6551 GB, free: 8.203 MB / 474.7 MB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.4389, allocations: 0 / 0.6551 GB, free: 8.203 MB / 474.7 MB Notification: Performance of matching and sorting (n=43): time 0.007288/0.4462, allocations: 1.747 MB / 0.6568 GB, free: 6.426 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4462, allocations: 59.41 kB / 0.6569 GB, free: 6.355 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4477, allocations: 1.051 MB / 0.6579 GB, free: 5.289 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.4478, allocations: 37.69 kB / 0.6579 GB, free: 5.246 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.4482, allocations: 0.5235 MB / 0.6584 GB, free: 4.719 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4483, allocations: 153.8 kB / 0.6586 GB, free: 4.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4486, allocations: 126.1 kB / 0.6587 GB, free: 4.434 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4487, allocations: 333.8 kB / 0.659 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008736/0.4496, allocations: 302.9 kB / 0.6593 GB, free: 3.805 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.4506, allocations: 0.5062 MB / 0.6598 GB, free: 3.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.4523, allocations: 0.6732 MB / 0.6605 GB, free: 2.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.4523, allocations: 4 kB / 0.6605 GB, free: 2.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003564/0.4558, allocations: 1.125 MB / 0.6616 GB, free: 1.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4559, allocations: 9.875 kB / 0.6616 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.4559, allocations: 4 kB / 0.6616 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.4572, allocations: 312.9 kB / 0.6619 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4577, allocations: 115.8 kB / 0.662 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4591, allocations: 0.9127 MB / 0.6629 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.4604, allocations: 171.2 kB / 0.663 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.4604, allocations: 39.92 kB / 0.6631 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.4616, allocations: 0.501 MB / 0.6636 GB, free: 15.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009961/0.4626, allocations: 0.502 MB / 0.6641 GB, free: 14.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001582/0.4642, allocations: 0.668 MB / 0.6647 GB, free: 13.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.4642, allocations: 4 kB / 0.6647 GB, free: 13.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003497/0.4677, allocations: 1.11 MB / 0.6658 GB, free: 12.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4678, allocations: 8 kB / 0.6658 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4678, allocations: 7.984 kB / 0.6658 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.4689, allocations: 319.4 kB / 0.6661 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.4694, allocations: 115.9 kB / 0.6662 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4709, allocations: 0.8997 MB / 0.6671 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.4723, allocations: 151.5 kB / 0.6673 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.4724, allocations: 31.98 kB / 0.6673 GB, free: 11.27 MB / 490.7 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.000253/0.4727, allocations: 224 kB / 0.6675 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.4728, allocations: 106.7 kB / 0.6676 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.4753, allocations: 0.9337 MB / 0.6685 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.4753, allocations: 12 kB / 0.6685 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4753, allocations: 3.938 kB / 0.6685 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.4753, allocations: 3.984 kB / 0.6685 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005395/0.4807, allocations: 2.155 MB / 0.6706 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4808, allocations: 4 kB / 0.6706 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.4811, allocations: 63.89 kB / 0.6707 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.4821, allocations: 308.8 kB / 0.671 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.4822, allocations: 12 kB / 0.671 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4837, allocations: 0.9518 MB / 0.6719 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4837, allocations: 0 / 0.6719 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.4887, allocations: 2.248 MB / 0.6741 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.4892, allocations: 263.5 kB / 0.6744 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4893, allocations: 16 kB / 0.6744 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.4902, allocations: 91.89 kB / 0.6745 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.4903, allocations: 39.83 kB / 0.6745 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.4904, allocations: 27.98 kB / 0.6746 GB, free: 3.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.4914, allocations: 0.743 MB / 0.6753 GB, free: 2.836 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4915, allocations: 0 / 0.6753 GB, free: 2.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001629/0.4931, allocations: 0.5692 MB / 0.6758 GB, free: 2.266 MB / 490.7 MB 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.0007258/0.4938, allocations: 377.6 kB / 0.6762 GB, free: 1.895 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.497, allocations: 1.085 MB / 0.6773 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.497, allocations: 0 / 0.6773 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.498, allocations: 352.5 kB / 0.6776 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.5007, allocations: 0.4928 MB / 0.6781 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.5065, allocations: 2.747 MB / 0.6808 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.5072, allocations: 1.077 MB / 0.6818 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001053/0.5082, allocations: 216.7 kB / 0.682 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.5084, allocations: 79.42 kB / 0.6821 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.5084, allocations: 0 / 0.6821 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.04233/0.5508, allocations: 24.34 MB / 0.7059 GB, free: 3.668 MB / 0.5105 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)