Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001243/0.001243, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.389, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0612/0.4502, allocations: 70.42 MB / 0.6263 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.4747, allocations: 18.92 MB / 0.6448 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.4781, allocations: 67.62 kB / 0.6449 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.4804, allocations: 0.8267 MB / 0.6457 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.488, allocations: 2.849 MB / 0.6485 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.4918, allocations: 1.655 MB / 0.6501 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.4971, allocations: 4.043 MB / 0.654 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.499, allocations: 1.457 MB / 0.6555 GB, free: 28 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.5028, allocations: 1.765 MB / 0.6572 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.5049, allocations: 1.182 MB / 0.6583 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.5052, allocations: 179.9 kB / 0.6585 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.5082, allocations: 1.419 MB / 0.6599 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.5086, allocations: 386.7 kB / 0.6603 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5096, allocations: 0.9254 MB / 0.6612 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.5138, allocations: 3.116 MB / 0.6642 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5138, allocations: 0 / 0.6642 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5138, allocations: 0 / 0.6642 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.01e-05/0.5139, allocations: 0 / 0.6642 GB, free: 7.043 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003505/0.5174, allocations: 2.023 MB / 0.6662 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5174, allocations: 12.03 kB / 0.6662 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.5195, allocations: 446.4 kB / 0.6666 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.5222, allocations: 1.551 MB / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.5223, allocations: 82.03 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.5224, allocations: 104 kB / 0.6683 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.5249, allocations: 1.313 MB / 0.6696 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.5249, allocations: 7.938 kB / 0.6696 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.525, allocations: 40 kB / 0.6696 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.525, allocations: 28 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.5275, allocations: 1.101 MB / 0.6707 GB, free: 124 kB / 0.4981 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.008518/0.536, allocations: 7.51 MB / 0.6781 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.5389, allocations: 0.7999 MB / 0.6789 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.5395, allocations: 286 kB / 0.6791 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.5408, allocations: 1.718 MB / 0.6808 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.5408, allocations: 42.94 kB / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.5408, allocations: 0 / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004538/0.5454, allocations: 1.338 MB / 0.6822 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5454, allocations: 63.84 kB / 0.6822 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.5478, allocations: 1.542 MB / 0.6837 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.5479, allocations: 41.64 kB / 0.6838 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.5485, allocations: 0.6729 MB / 0.6844 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.5487, allocations: 169.6 kB / 0.6846 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.549, allocations: 178.4 kB / 0.6847 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5491, allocations: 337.9 kB / 0.6851 GB, free: 452 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009151/0.55, allocations: 365.8 kB / 0.6854 GB, free: 88 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5513, allocations: 0.6547 MB / 0.6861 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.553, allocations: 0.8829 MB / 0.6869 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.553, allocations: 11.88 kB / 0.6869 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002797/0.5558, allocations: 1.186 MB / 0.6881 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5559, allocations: 8 kB / 0.6881 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5559, allocations: 8 kB / 0.6881 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008438/0.5567, allocations: 216.7 kB / 0.6883 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.5575, allocations: 199.7 kB / 0.6885 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008935/0.5584, allocations: 0.7161 MB / 0.6892 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.5598, allocations: 214.7 kB / 0.6894 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.56, allocations: 44.08 kB / 0.6894 GB, free: 11.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005632/0.5605, allocations: 366.1 kB / 0.6898 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.5607, allocations: 150.2 kB / 0.6899 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.563, allocations: 1.141 MB / 0.6911 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.563, allocations: 8 kB / 0.6911 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.563, allocations: 0 / 0.6911 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.563, allocations: 3.984 kB / 0.6911 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.5678, allocations: 2.51 MB / 0.6935 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5678, allocations: 4 kB / 0.6935 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.5682, allocations: 83.88 kB / 0.6936 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/0.5689, allocations: 208.7 kB / 0.6938 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.5689, allocations: 20 kB / 0.6938 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.5701, allocations: 0.7746 MB / 0.6946 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5701, allocations: 4.031 kB / 0.6946 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.5732, allocations: 1.199 MB / 0.6957 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.5738, allocations: 354.9 kB / 0.6961 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.5739, allocations: 11.94 kB / 0.6961 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.5748, allocations: 79.91 kB / 0.6962 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.5749, allocations: 36.52 kB / 0.6962 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.5749, allocations: 27.98 kB / 0.6962 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001616/0.5766, allocations: 1.086 MB / 0.6973 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5766, allocations: 0 / 0.6973 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001192/0.5778, allocations: 443.4 kB / 0.6977 GB, free: 3.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008219/0.5786, allocations: 488.9 kB / 0.6982 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.5806, allocations: 0.8408 MB / 0.699 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5806, allocations: 320 / 0.699 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.5818, allocations: 447.2 kB / 0.6994 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.5844, allocations: 0.7456 MB / 0.7002 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5879, allocations: 2.249 MB / 0.7024 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.5886, allocations: 1.172 MB / 0.7035 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008928/0.5895, allocations: 264.1 kB / 0.7038 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5898, allocations: 115.4 kB / 0.7039 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 6.12e-07/0.5898, allocations: 0 / 0.7039 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Templates: time 0.04546/0.6353, allocations: 31.51 MB / 0.7346 GB, free: 13.48 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)