Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 107.7 kB / 17.03 MB, free: 5.703 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.001102/0.001102, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 76.14 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05163/0.4123, allocations: 61.16 MB / 0.6173 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.4292, allocations: 11.98 MB / 0.629 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.432, allocations: 59.62 kB / 0.629 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4339, allocations: 0.6908 MB / 0.6297 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.439, allocations: 1.959 MB / 0.6316 GB, free: 8.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.4419, allocations: 1.206 MB / 0.6328 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.4459, allocations: 3.085 MB / 0.6358 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.4474, allocations: 1.102 MB / 0.6369 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.451, allocations: 1.334 MB / 0.6382 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.4528, allocations: 0.8944 MB / 0.6391 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.453, allocations: 116 kB / 0.6392 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.4561, allocations: 1.454 MB / 0.6406 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.4564, allocations: 294.8 kB / 0.6409 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009205/0.4574, allocations: 0.6958 MB / 0.6416 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004362/0.4617, allocations: 2.31 MB / 0.6438 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4618, allocations: 3.938 kB / 0.6438 GB, free: 12 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4618, allocations: 0 / 0.6438 GB, free: 12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.4619, allocations: 8 kB / 0.6438 GB, free: 12 MB / 494.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.003471/0.4653, allocations: 1.726 MB / 0.6455 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4654, allocations: 8.031 kB / 0.6455 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.467, allocations: 343 kB / 0.6458 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.4692, allocations: 1.156 MB / 0.647 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.4693, allocations: 62 kB / 0.647 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4694, allocations: 80 kB / 0.6471 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.4711, allocations: 0.9702 MB / 0.6481 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4711, allocations: 7.938 kB / 0.6481 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.4712, allocations: 32 kB / 0.6481 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4712, allocations: 23.98 kB / 0.6481 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.473, allocations: 0.8001 MB / 0.6489 GB, free: 6.621 MB / 494.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.00591/0.4789, allocations: 5.146 MB / 0.6539 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.4803, allocations: 0.5511 MB / 0.6545 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.4809, allocations: 262.6 kB / 0.6547 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.4822, allocations: 1.373 MB / 0.6561 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4822, allocations: 42.5 kB / 0.6561 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.4822, allocations: 0 / 0.6561 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006012/0.4882, allocations: 1.607 MB / 0.6577 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4883, allocations: 59.41 kB / 0.6577 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.4898, allocations: 1.068 MB / 0.6588 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.4899, allocations: 41.7 kB / 0.6588 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.4903, allocations: 0.535 MB / 0.6593 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4905, allocations: 153.8 kB / 0.6595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.4907, allocations: 134.2 kB / 0.6596 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4908, allocations: 329.9 kB / 0.6599 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.4915, allocations: 279.2 kB / 0.6602 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.4924, allocations: 0.5086 MB / 0.6607 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.4937, allocations: 0.6547 MB / 0.6613 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4937, allocations: 0 / 0.6613 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002296/0.496, allocations: 0.9539 MB / 0.6622 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.496, allocations: 8 kB / 0.6623 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.496, allocations: 4 kB / 0.6623 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.4972, allocations: 311.2 kB / 0.6626 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4977, allocations: 119.8 kB / 0.6627 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.499, allocations: 0.8995 MB / 0.6635 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.5001, allocations: 147.2 kB / 0.6637 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.5002, allocations: 35.98 kB / 0.6637 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001/0.5012, allocations: 485.9 kB / 0.6642 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008094/0.502, allocations: 0.4892 MB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/0.5033, allocations: 0.6549 MB / 0.6653 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.5033, allocations: 0 / 0.6653 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002335/0.5056, allocations: 0.9538 MB / 0.6662 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5056, allocations: 8 kB / 0.6662 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5057, allocations: 4 kB / 0.6662 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.5067, allocations: 292.6 kB / 0.6665 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.5072, allocations: 123.8 kB / 0.6666 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.5084, allocations: 0.8978 MB / 0.6675 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.5096, allocations: 127.6 kB / 0.6676 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.5097, allocations: 35.92 kB / 0.6677 GB, free: 2.215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002324/0.51, allocations: 220.1 kB / 0.6679 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5102, allocations: 110.6 kB / 0.668 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.5131, allocations: 0.9888 MB / 0.669 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.5131, allocations: 4 kB / 0.669 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5131, allocations: 0 / 0.669 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5131, allocations: 4.078 kB / 0.669 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.5177, allocations: 2.072 MB / 0.671 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.5177, allocations: 4.281 kB / 0.671 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.5179, allocations: 59.91 kB / 0.671 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008915/0.5188, allocations: 284.5 kB / 0.6713 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5189, allocations: 27.86 kB / 0.6713 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.5202, allocations: 0.9213 MB / 0.6722 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5202, allocations: 4 kB / 0.6722 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.5232, allocations: 1.09 MB / 0.6733 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.5238, allocations: 271.4 kB / 0.6736 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.5239, allocations: 12 kB / 0.6736 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.5246, allocations: 55.92 kB / 0.6736 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.5247, allocations: 43.83 kB / 0.6737 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.5248, allocations: 23.98 kB / 0.6737 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001177/0.526, allocations: 0.7551 MB / 0.6744 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.526, allocations: 0 / 0.6744 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001599/0.5276, allocations: 0.5731 MB / 0.675 GB, free: 10.51 MB / 0.5137 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.000784/0.5284, allocations: 409.1 kB / 0.6754 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002617/0.531, allocations: 1.031 MB / 0.6764 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.531, allocations: 0 / 0.6764 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.5317, allocations: 315.8 kB / 0.6767 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.5337, allocations: 0.5015 MB / 0.6772 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.5369, allocations: 1.805 MB / 0.6789 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.5375, allocations: 1.069 MB / 0.68 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007518/0.5383, allocations: 223.8 kB / 0.6802 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.5384, allocations: 79.42 kB / 0.6803 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5385, allocations: 0 / 0.6803 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of Templates: time 0.03783/0.5763, allocations: 25.05 MB / 0.7047 GB, free: 12.28 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)