Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.7 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.4569/0.4569, allocations: 87.51 MB / 104.9 MB, free: 13 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.343/1.343, allocations: 222.9 MB / 349.1 MB, free: 2.773 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.001043/0.001043, allocations: 103.2 kB / 420 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.92 kB / 0.4891 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3579, allocations: 70.06 MB / 0.5575 GB, free: 44.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04845/0.4064, allocations: 60.85 MB / 0.6169 GB, free: 184 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.4246, allocations: 12.06 MB / 0.6287 GB, free: 4.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.4278, allocations: 59.56 kB / 0.6287 GB, free: 4.023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.4303, allocations: 0.5438 MB / 0.6293 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.4364, allocations: 1.809 MB / 0.631 GB, free: 1.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.4396, allocations: 1.081 MB / 0.6321 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.4448, allocations: 3.925 MB / 0.6359 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.4463, allocations: 0.9496 MB / 0.6369 GB, free: 11.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.4487, allocations: 1.174 MB / 0.638 GB, free: 10.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.45, allocations: 0.9021 MB / 0.6389 GB, free: 9.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.4502, allocations: 56 kB / 0.6389 GB, free: 9.535 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.453, allocations: 1.353 MB / 0.6403 GB, free: 8.18 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.4533, allocations: 238.8 kB / 0.6405 GB, free: 7.945 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.4542, allocations: 0.645 MB / 0.6411 GB, free: 7.297 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.4582, allocations: 2.251 MB / 0.6433 GB, free: 5.039 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.4583, allocations: 8 kB / 0.6433 GB, free: 5.031 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4583, allocations: 0 / 0.6433 GB, free: 5.031 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.027e-05/0.4584, allocations: 0 / 0.6433 GB, free: 5.031 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004307/0.4627, allocations: 1.742 MB / 0.645 GB, free: 3.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.599e-05/0.4628, allocations: 12.03 kB / 0.645 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.465, allocations: 414.8 kB / 0.6454 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.4675, allocations: 1.132 MB / 0.6465 GB, free: 1.621 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.4679, allocations: 121.9 kB / 0.6467 GB, free: 1.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.468, allocations: 80 kB / 0.6467 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.4701, allocations: 1.001 MB / 0.6477 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.4701, allocations: 3.938 kB / 0.6477 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.4702, allocations: 32 kB / 0.6477 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.4702, allocations: 20 kB / 0.6478 GB, free: 332 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.4727, allocations: 0.8782 MB / 0.6486 GB, free: 15.45 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.006814/0.4795, allocations: 4.855 MB / 0.6534 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.483, allocations: 0.8154 MB / 0.6542 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.4838, allocations: 304.7 kB / 0.6545 GB, free: 9.109 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.4846, allocations: 0.9064 MB / 0.6553 GB, free: 8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4846, allocations: 46.5 kB / 0.6554 GB, free: 7.945 MB / 474.7 MB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.4846, allocations: 0 / 0.6554 GB, free: 7.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.006798/0.4914, allocations: 1.657 MB / 0.657 GB, free: 6.258 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.4915, allocations: 55.41 kB / 0.6571 GB, free: 6.191 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.4932, allocations: 1.056 MB / 0.6581 GB, free: 5.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/0.4933, allocations: 33.7 kB / 0.6581 GB, free: 5.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.4938, allocations: 0.5274 MB / 0.6586 GB, free: 4.551 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4939, allocations: 157.7 kB / 0.6588 GB, free: 4.395 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.4942, allocations: 126.1 kB / 0.6589 GB, free: 4.262 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4943, allocations: 326 kB / 0.6592 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009912/0.4953, allocations: 326.8 kB / 0.6595 GB, free: 3.617 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4964, allocations: 0.5137 MB / 0.66 GB, free: 3.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.4982, allocations: 0.7022 MB / 0.6607 GB, free: 2.258 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4982, allocations: 7.938 kB / 0.6607 GB, free: 2.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002973/0.5012, allocations: 1.015 MB / 0.6617 GB, free: 1.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5013, allocations: 8 kB / 0.6617 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5013, allocations: 4.438 kB / 0.6617 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.5025, allocations: 316.7 kB / 0.662 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.5031, allocations: 123.8 kB / 0.6621 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.5046, allocations: 0.9204 MB / 0.663 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.506, allocations: 175.3 kB / 0.6632 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.5061, allocations: 27.98 kB / 0.6632 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/0.5074, allocations: 0.5283 MB / 0.6638 GB, free: 15.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001127/0.5085, allocations: 0.5137 MB / 0.6643 GB, free: 14.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001783/0.5103, allocations: 0.6952 MB / 0.6649 GB, free: 13.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.5103, allocations: 0 / 0.6649 GB, free: 13.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002933/0.5133, allocations: 1.011 MB / 0.6659 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5133, allocations: 10.19 kB / 0.6659 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5133, allocations: 7.984 kB / 0.6659 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.5145, allocations: 314 kB / 0.6662 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.5151, allocations: 123.8 kB / 0.6664 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.5166, allocations: 0.9097 MB / 0.6672 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.518, allocations: 159.6 kB / 0.6674 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.5181, allocations: 27.98 kB / 0.6674 GB, free: 11.16 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 (52): * Single equations (assignments): 51 * 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.0002724/0.5184, allocations: 216.1 kB / 0.6676 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.5186, allocations: 118.6 kB / 0.6677 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.522, allocations: 1.106 MB / 0.6688 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.5221, allocations: 8 kB / 0.6688 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.5221, allocations: 3.984 kB / 0.6688 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5221, allocations: 0 / 0.6688 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/0.5286, allocations: 2.198 MB / 0.671 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.5286, allocations: 4 kB / 0.671 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.529, allocations: 72.17 kB / 0.6711 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.5303, allocations: 312.5 kB / 0.6713 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.5303, allocations: 11.94 kB / 0.6714 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.5321, allocations: 0.9348 MB / 0.6723 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.5321, allocations: 8.031 kB / 0.6723 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005605/0.5377, allocations: 2.313 MB / 0.6745 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.5383, allocations: 267.5 kB / 0.6748 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5384, allocations: 15.94 kB / 0.6748 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/0.5393, allocations: 103.9 kB / 0.6749 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.5395, allocations: 35.89 kB / 0.6749 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.5395, allocations: 23.98 kB / 0.675 GB, free: 3.188 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.5407, allocations: 0.7432 MB / 0.6757 GB, free: 2.438 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5407, allocations: 0 / 0.6757 GB, free: 2.438 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001868/0.5426, allocations: 0.5769 MB / 0.6763 GB, free: 1.859 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 (34): * Single equations (assignments): 29 * 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.0008994/0.5435, allocations: 392.7 kB / 0.6766 GB, free: 1.477 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.5468, allocations: 1.137 MB / 0.6777 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5469, allocations: 0 / 0.6777 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000972/0.5478, allocations: 371.5 kB / 0.6781 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.5504, allocations: 0.495 MB / 0.6786 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.5565, allocations: 2.758 MB / 0.6813 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.5571, allocations: 1.081 MB / 0.6823 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001058/0.5582, allocations: 220 kB / 0.6825 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.5584, allocations: 75.42 kB / 0.6826 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.5584, allocations: 7.938 kB / 0.6826 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.04073/0.5991, allocations: 24.57 MB / 0.7066 GB, free: 2.922 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)