Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001631/0.001631, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.001597/0.001597, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7973/0.7973, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 67.11 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 80.2 MB / 0.6603 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07105/0.2462, allocations: 70.46 MB / 0.7291 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02379/0.2701, allocations: 18.9 MB / 0.7476 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.2724, allocations: 67.62 kB / 0.7477 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3214/0.5938, allocations: 0.8389 MB / 0.7485 GB, free: 18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.6011, allocations: 2.996 MB / 0.7514 GB, free: 18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.6047, allocations: 1.669 MB / 0.753 GB, free: 18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005134/0.6098, allocations: 4.045 MB / 0.757 GB, free: 18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.6124, allocations: 1.456 MB / 0.7584 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.6169, allocations: 1.814 MB / 0.7602 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.6191, allocations: 1.189 MB / 0.7613 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.6194, allocations: 175.6 kB / 0.7615 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.6224, allocations: 1.411 MB / 0.7629 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.6227, allocations: 386.1 kB / 0.7632 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009534/0.6237, allocations: 0.917 MB / 0.7641 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.6278, allocations: 3.131 MB / 0.7672 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6278, allocations: 0 / 0.7672 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6278, allocations: 4 kB / 0.7672 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.6278, allocations: 1.031 kB / 0.7672 GB, free: 16.94 MB / 0.5762 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.003689/0.6315, allocations: 2.083 MB / 0.7692 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6316, allocations: 13.44 kB / 0.7692 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.6339, allocations: 456.6 kB / 0.7697 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.6363, allocations: 1.561 MB / 0.7712 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.6364, allocations: 81.72 kB / 0.7713 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.6366, allocations: 104.9 kB / 0.7714 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.639, allocations: 1.32 MB / 0.7727 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.639, allocations: 5.031 kB / 0.7727 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6391, allocations: 41.12 kB / 0.7727 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.6392, allocations: 26.91 kB / 0.7727 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.6419, allocations: 1.101 MB / 0.7738 GB, free: 15 MB / 0.5762 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.007502/0.6494, allocations: 7.508 MB / 0.7812 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.6526, allocations: 0.8083 MB / 0.7819 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.6532, allocations: 283.1 kB / 0.7822 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.6541, allocations: 1.723 MB / 0.7839 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.6541, allocations: 42 kB / 0.7839 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.6542, allocations: 0 / 0.7839 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004926/0.6591, allocations: 1.343 MB / 0.7852 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.6591, allocations: 56.22 kB / 0.7853 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.6614, allocations: 1.543 MB / 0.7868 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.6615, allocations: 37.86 kB / 0.7868 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.6619, allocations: 0.6885 MB / 0.7875 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.6621, allocations: 177.7 kB / 0.7877 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.6623, allocations: 175.2 kB / 0.7879 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.6624, allocations: 333.6 kB / 0.7882 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.6633, allocations: 363.5 kB / 0.7885 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6644, allocations: 0.6647 MB / 0.7892 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.6661, allocations: 0.8762 MB / 0.79 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6661, allocations: 9.844 kB / 0.79 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002798/0.6689, allocations: 1.21 MB / 0.7912 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.669, allocations: 7.656 kB / 0.7912 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.669, allocations: 8 kB / 0.7912 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.6699, allocations: 216.6 kB / 0.7914 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.6706, allocations: 187.6 kB / 0.7916 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007398/0.6714, allocations: 0.7272 MB / 0.7923 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.673, allocations: 217.8 kB / 0.7925 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.6731, allocations: 50.72 kB / 0.7926 GB, free: 4.711 MB / 0.5762 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.0005178/0.6736, allocations: 352.2 kB / 0.7929 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.6738, allocations: 154.7 kB / 0.7931 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.676, allocations: 1.142 MB / 0.7942 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.676, allocations: 3.047 kB / 0.7942 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6761, allocations: 0 / 0.7942 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.6765, allocations: 360.3 kB / 0.7945 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.6767, allocations: 11.94 kB / 0.7945 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.6776, allocations: 70.56 kB / 0.7946 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.6777, allocations: 35.69 kB / 0.7946 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002383/0.6801, allocations: 0.9859 MB / 0.7956 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002224/0.6823, allocations: 1.433 MB / 0.797 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006638/0.683, allocations: 349.6 kB / 0.7973 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001864/0.6849, allocations: 1.087 MB / 0.7984 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Backend: time 1.583e-06/0.6849, allocations: 2.531 kB / 0.7984 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.6883, allocations: 1.077 MB / 0.7994 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004934/0.6933, allocations: 3.213 MB / 0.8026 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.05311/0.7464, allocations: 33.45 MB / 0.8352 GB, free: 1.832 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)