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.00155/0.00155, allocations: 107.6 kB / 17.02 MB, free: 5.66 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.001965/0.001965, allocations: 192.1 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.399/1.399, 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.7269/0.7269, allocations: 115.1 MB / 406.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.347, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0591/0.4062, allocations: 70.43 MB / 0.6263 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02341/0.4296, allocations: 18.93 MB / 0.6448 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.4323, allocations: 71.56 kB / 0.6449 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.4346, allocations: 0.8268 MB / 0.6457 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.4418, allocations: 2.842 MB / 0.6485 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.4458, allocations: 1.66 MB / 0.6501 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006341/0.4522, allocations: 4.041 MB / 0.654 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.4544, allocations: 1.449 MB / 0.6554 GB, free: 44 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.4586, allocations: 1.78 MB / 0.6572 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.4608, allocations: 1.175 MB / 0.6583 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.4611, allocations: 179.9 kB / 0.6585 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.4642, allocations: 1.416 MB / 0.6599 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.4646, allocations: 394.6 kB / 0.6603 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.4658, allocations: 0.9216 MB / 0.6612 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.4701, allocations: 3.106 MB / 0.6642 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4701, allocations: 0 / 0.6642 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4702, allocations: 0 / 0.6642 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.4702, allocations: 0 / 0.6642 GB, free: 7.059 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.003653/0.4739, allocations: 2.03 MB / 0.6662 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4739, allocations: 12.03 kB / 0.6662 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.4762, allocations: 446.4 kB / 0.6666 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.4789, allocations: 1.555 MB / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.479, allocations: 85.97 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4792, allocations: 104 kB / 0.6683 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.4816, allocations: 1.309 MB / 0.6696 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.4817, allocations: 7.938 kB / 0.6696 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4818, allocations: 40 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.4818, allocations: 28 kB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.4843, allocations: 1.097 MB / 0.6707 GB, free: 132 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.008605/0.493, allocations: 7.506 MB / 0.6781 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.496, allocations: 0.8078 MB / 0.6789 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.4967, allocations: 282 kB / 0.6791 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.4983, allocations: 1.714 MB / 0.6808 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/0.4984, allocations: 39 kB / 0.6808 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.4984, allocations: 0 / 0.6808 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004721/0.5031, allocations: 1.342 MB / 0.6821 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.5032, allocations: 55.84 kB / 0.6822 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.5057, allocations: 1.545 MB / 0.6837 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.5058, allocations: 41.64 kB / 0.6838 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.5064, allocations: 0.6729 MB / 0.6844 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.5066, allocations: 169.6 kB / 0.6846 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.5069, allocations: 178.4 kB / 0.6847 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.507, allocations: 337.9 kB / 0.6851 GB, free: 468 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.5081, allocations: 365.8 kB / 0.6854 GB, free: 104 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.5093, allocations: 0.6547 MB / 0.6861 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.5112, allocations: 0.8867 MB / 0.6869 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.5112, allocations: 7.938 kB / 0.6869 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003096/0.5143, allocations: 1.186 MB / 0.6881 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5143, allocations: 8 kB / 0.6881 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5144, allocations: 8 kB / 0.6881 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000895/0.5153, allocations: 220.6 kB / 0.6883 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.5161, allocations: 199.7 kB / 0.6885 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008816/0.517, allocations: 0.72 MB / 0.6892 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.5186, allocations: 214.7 kB / 0.6894 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5187, allocations: 43.98 kB / 0.6894 GB, free: 11.69 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.0006877/0.5194, allocations: 357.5 kB / 0.6898 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.5198, allocations: 154.2 kB / 0.6899 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.5223, allocations: 1.134 MB / 0.691 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.5224, allocations: 12 kB / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5224, allocations: 0 / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5224, allocations: 3.984 kB / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.528, allocations: 2.514 MB / 0.6935 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.528, allocations: 4 kB / 0.6935 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.5284, allocations: 79.88 kB / 0.6936 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007648/0.5292, allocations: 220.7 kB / 0.6938 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.5293, allocations: 16 kB / 0.6938 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.5307, allocations: 0.7716 MB / 0.6946 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5307, allocations: 4.031 kB / 0.6946 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.5342, allocations: 1.203 MB / 0.6958 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.5349, allocations: 350.9 kB / 0.6961 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.5352, allocations: 15.94 kB / 0.6961 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.5362, allocations: 75.91 kB / 0.6962 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5363, allocations: 44.45 kB / 0.6962 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.5364, allocations: 27.98 kB / 0.6962 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002084/0.5385, allocations: 1.086 MB / 0.6973 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5385, allocations: 0 / 0.6973 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001519/0.54, allocations: 443.4 kB / 0.6977 GB, free: 3.047 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.0009959/0.541, allocations: 485.9 kB / 0.6982 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.5434, allocations: 0.8408 MB / 0.699 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5434, allocations: 320 / 0.699 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.5448, allocations: 451.2 kB / 0.6994 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.548, allocations: 0.737 MB / 0.7002 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.5525, allocations: 2.253 MB / 0.7024 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.5534, allocations: 1.172 MB / 0.7035 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001104/0.5545, allocations: 260.2 kB / 0.7038 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.5548, allocations: 115.4 kB / 0.7039 GB, free: 12.69 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5549, allocations: 0 / 0.7039 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Templates: time 0.05195/0.6068, allocations: 31.51 MB / 0.7346 GB, free: 13.5 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)