Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001167/0.001167, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.001165/0.001165, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7548/0.7548, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.31 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1531, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07064/0.2237, allocations: 70.44 MB / 0.7341 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3859/0.6097, allocations: 18.89 MB / 0.7525 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.6121, allocations: 71.03 kB / 0.7526 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.6141, allocations: 0.8439 MB / 0.7534 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007054/0.6213, allocations: 3.002 MB / 0.7564 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.625, allocations: 1.665 MB / 0.758 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005969/0.631, allocations: 4.053 MB / 0.7619 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.6337, allocations: 1.452 MB / 0.7634 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/0.6387, allocations: 1.817 MB / 0.7651 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.6414, allocations: 1.181 MB / 0.7663 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.6418, allocations: 174.7 kB / 0.7665 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.6455, allocations: 1.416 MB / 0.7678 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.6459, allocations: 391.3 kB / 0.7682 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.6472, allocations: 0.9163 MB / 0.7691 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.652, allocations: 3.121 MB / 0.7722 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6521, allocations: 0 / 0.7722 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6521, allocations: 0 / 0.7722 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.523e-05/0.6521, allocations: 1.594 kB / 0.7722 GB, free: 16.48 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.003415/0.6555, allocations: 2.034 MB / 0.7741 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6556, allocations: 13.06 kB / 0.7742 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.6579, allocations: 443.8 kB / 0.7746 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.6604, allocations: 1.548 MB / 0.7761 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/0.6605, allocations: 82.94 kB / 0.7762 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6606, allocations: 103.3 kB / 0.7763 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.663, allocations: 1.317 MB / 0.7776 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.663, allocations: 2.469 kB / 0.7776 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6632, allocations: 42.47 kB / 0.7776 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.6632, allocations: 26.94 kB / 0.7776 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.6657, allocations: 1.104 MB / 0.7787 GB, free: 14.59 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.007158/0.6728, allocations: 7.505 MB / 0.786 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.6758, allocations: 0.8028 MB / 0.7868 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.6764, allocations: 280.5 kB / 0.7871 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.6772, allocations: 1.723 MB / 0.7888 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.6772, allocations: 38.38 kB / 0.7888 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.995e-06/0.6772, allocations: 0 / 0.7888 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004488/0.6817, allocations: 1.338 MB / 0.7901 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.6817, allocations: 61.19 kB / 0.7902 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.6838, allocations: 1.542 MB / 0.7917 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.6839, allocations: 41.3 kB / 0.7917 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.6843, allocations: 0.678 MB / 0.7924 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.6845, allocations: 174.7 kB / 0.7925 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.6847, allocations: 168 kB / 0.7927 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.6848, allocations: 333.8 kB / 0.793 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.6857, allocations: 366.2 kB / 0.7934 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.6867, allocations: 0.6548 MB / 0.794 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.6882, allocations: 0.8884 MB / 0.7949 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6882, allocations: 3 kB / 0.7949 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002574/0.6908, allocations: 1.197 MB / 0.796 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6908, allocations: 9.781 kB / 0.7961 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.6908, allocations: 12.38 kB / 0.7961 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.6916, allocations: 219.2 kB / 0.7963 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.6923, allocations: 189.3 kB / 0.7965 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006724/0.693, allocations: 0.7216 MB / 0.7972 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6945, allocations: 211.3 kB / 0.7974 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.6946, allocations: 42.92 kB / 0.7974 GB, free: 2.156 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.0005277/0.6951, allocations: 356.7 kB / 0.7977 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.6953, allocations: 151.5 kB / 0.7979 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.6973, allocations: 1.144 MB / 0.799 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6974, allocations: 4 kB / 0.799 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6974, allocations: 0 / 0.799 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.6979, allocations: 348.3 kB / 0.7993 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.6981, allocations: 10.39 kB / 0.7994 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.6989, allocations: 71.48 kB / 0.7994 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.6989, allocations: 38.09 kB / 0.7995 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002215/0.7012, allocations: 0.9897 MB / 0.8004 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/0.7034, allocations: 1.422 MB / 0.8018 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006231/0.704, allocations: 344.6 kB / 0.8021 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001603/0.7057, allocations: 1.085 MB / 0.8032 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Backend: time 3.31e-07/0.7057, allocations: 2.406 kB / 0.8032 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.7089, allocations: 1.073 MB / 0.8042 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005004/0.7139, allocations: 3.169 MB / 0.8073 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.04984/0.7638, allocations: 33.44 MB / 0.84 GB, free: 13.99 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)