Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001348/0.001348, allocations: 195.9 kB / 16.26 MB, free: 6.621 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9445/0.9445, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 64.05 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3399/0.5218, allocations: 60.64 MB / 0.6437 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.5359, allocations: 11.89 MB / 0.6553 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.5382, allocations: 59.91 kB / 0.6554 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.5402, allocations: 0.5734 MB / 0.6559 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.5455, allocations: 1.827 MB / 0.6577 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.5487, allocations: 1.091 MB / 0.6588 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.553, allocations: 3.1 MB / 0.6618 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.555, allocations: 1.107 MB / 0.6629 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.5587, allocations: 1.331 MB / 0.6642 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.5609, allocations: 0.9238 MB / 0.6651 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.5614, allocations: 116.6 kB / 0.6652 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.5655, allocations: 1.461 MB / 0.6666 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.566, allocations: 289.3 kB / 0.6669 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.5679, allocations: 0.6995 MB / 0.6676 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.5736, allocations: 2.298 MB / 0.6698 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5736, allocations: 1.797 kB / 0.6698 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5737, allocations: 4 kB / 0.6698 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.917e-05/0.5737, allocations: 0 / 0.6698 GB, free: 1.195 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004908/0.5787, allocations: 1.728 MB / 0.6715 GB, free: 12 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5787, allocations: 10.33 kB / 0.6715 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.5812, allocations: 410.5 kB / 0.6719 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.584, allocations: 1.126 MB / 0.673 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.5844, allocations: 119.4 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5846, allocations: 79.31 kB / 0.6732 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.5869, allocations: 0.9797 MB / 0.6742 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.5869, allocations: 0.8438 kB / 0.6742 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.587, allocations: 31.5 kB / 0.6742 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.587, allocations: 23.66 kB / 0.6742 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.5895, allocations: 0.8545 MB / 0.6751 GB, free: 14.39 MB / 0.5137 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.008505/0.598, allocations: 4.826 MB / 0.6798 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.6014, allocations: 0.7937 MB / 0.6806 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.6022, allocations: 304.7 kB / 0.6808 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008485/0.6031, allocations: 0.9066 MB / 0.6817 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.6031, allocations: 43.11 kB / 0.6818 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.6031, allocations: 0 / 0.6818 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007709/0.6109, allocations: 1.756 MB / 0.6835 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.6109, allocations: 56.56 kB / 0.6835 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.6128, allocations: 1.053 MB / 0.6846 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.613, allocations: 37.52 kB / 0.6846 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.6135, allocations: 0.5181 MB / 0.6851 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.6137, allocations: 153 kB / 0.6853 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.6139, allocations: 123.8 kB / 0.6854 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6141, allocations: 328.5 kB / 0.6857 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.615, allocations: 308.3 kB / 0.686 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.6163, allocations: 0.5036 MB / 0.6865 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.6183, allocations: 0.6777 MB / 0.6871 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.6183, allocations: 1.406 kB / 0.6871 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004117/0.6225, allocations: 1.138 MB / 0.6882 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6225, allocations: 6.406 kB / 0.6882 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6225, allocations: 4.922 kB / 0.6883 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.6239, allocations: 319.1 kB / 0.6886 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.6245, allocations: 111 kB / 0.6887 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.6262, allocations: 0.9159 MB / 0.6896 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.6278, allocations: 173.6 kB / 0.6897 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.628, allocations: 28.36 kB / 0.6898 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/0.6294, allocations: 0.5088 MB / 0.6902 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.6308, allocations: 0.5024 MB / 0.6907 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002014/0.6328, allocations: 0.6637 MB / 0.6914 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.237e-06/0.6328, allocations: 5.188 kB / 0.6914 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.004538/0.6374, allocations: 1.107 MB / 0.6925 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6374, allocations: 7.375 kB / 0.6925 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6374, allocations: 4.797 kB / 0.6925 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.6387, allocations: 311.8 kB / 0.6928 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.6393, allocations: 119 kB / 0.6929 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.641, allocations: 0.9068 MB / 0.6938 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.6427, allocations: 165.7 kB / 0.6939 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.6428, allocations: 28.23 kB / 0.694 GB, free: 3.312 MB / 0.5137 GB 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.0003655/0.6432, allocations: 216 kB / 0.6942 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.6437, allocations: 107.3 kB / 0.6943 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.6465, allocations: 0.935 MB / 0.6952 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.6466, allocations: 7.422 kB / 0.6952 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6466, allocations: 3.938 kB / 0.6952 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6466, allocations: 2.203 kB / 0.6952 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.6529, allocations: 2.15 MB / 0.6973 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6529, allocations: 2.219 kB / 0.6973 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.6532, allocations: 62.91 kB / 0.6974 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.6544, allocations: 301.7 kB / 0.6976 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.6544, allocations: 16.44 kB / 0.6977 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.6562, allocations: 0.9487 MB / 0.6986 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6562, allocations: 3.047 kB / 0.6986 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.6604, allocations: 1.173 MB / 0.6997 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/0.6613, allocations: 257.6 kB / 0.7 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/0.6619, allocations: 12.12 kB / 0.7 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.6633, allocations: 98.8 kB / 0.7001 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6635, allocations: 34.77 kB / 0.7001 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.6636, allocations: 28.3 kB / 0.7002 GB, free: 160 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00222/0.6658, allocations: 0.7337 MB / 0.7009 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6658, allocations: 0 / 0.7009 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003617/0.6694, allocations: 0.5578 MB / 0.7014 GB, free: 15.73 MB / 0.5294 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.00146/0.6709, allocations: 378.2 kB / 0.7018 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.6746, allocations: 1.131 MB / 0.7029 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6747, allocations: 0 / 0.7029 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6757, allocations: 346.1 kB / 0.7032 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.6787, allocations: 0.5058 MB / 0.7037 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.6852, allocations: 2.434 MB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.6861, allocations: 1.063 MB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001215/0.6874, allocations: 218.8 kB / 0.7073 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.6876, allocations: 80.3 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/0.6876, allocations: 2.469 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.04611/0.7337, allocations: 24.45 MB / 0.7313 GB, free: 5.324 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)