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.001078/0.001078, allocations: 109.9 kB / 16.41 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.001089/0.001089, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7869/0.7869, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.19 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1477, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07111/0.2189, allocations: 70.44 MB / 0.7291 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.244, allocations: 18.92 MB / 0.7476 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.2466, allocations: 71.56 kB / 0.7477 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3464/0.593, allocations: 0.8129 MB / 0.7484 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007874/0.6009, allocations: 2.849 MB / 0.7512 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004112/0.605, allocations: 1.644 MB / 0.7528 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006888/0.6119, allocations: 4.04 MB / 0.7568 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.615, allocations: 1.459 MB / 0.7582 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/0.6203, allocations: 1.803 MB / 0.76 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.6236, allocations: 1.181 MB / 0.7611 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.6242, allocations: 179 kB / 0.7613 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.6284, allocations: 1.412 MB / 0.7627 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.629, allocations: 385 kB / 0.763 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.6306, allocations: 0.9234 MB / 0.7639 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.6362, allocations: 3.117 MB / 0.767 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6362, allocations: 1.031 kB / 0.767 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6362, allocations: 0 / 0.767 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.911e-05/0.6362, allocations: 0 / 0.767 GB, free: 16.89 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.004406/0.6407, allocations: 2.033 MB / 0.769 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6407, allocations: 9.656 kB / 0.769 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.6431, allocations: 446.6 kB / 0.7694 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.6462, allocations: 1.555 MB / 0.7709 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.6463, allocations: 79.16 kB / 0.771 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.6465, allocations: 102.5 kB / 0.7711 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.649, allocations: 1.316 MB / 0.7724 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.6491, allocations: 1.219 kB / 0.7724 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.6492, allocations: 50.97 kB / 0.7724 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.6492, allocations: 26.34 kB / 0.7725 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.6518, allocations: 1.096 MB / 0.7735 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.008542/0.6604, allocations: 7.496 MB / 0.7808 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.6635, allocations: 0.8064 MB / 0.7816 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.6641, allocations: 281.5 kB / 0.7819 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/0.665, allocations: 1.721 MB / 0.7836 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.665, allocations: 41.28 kB / 0.7836 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.085e-06/0.665, allocations: 1.469 kB / 0.7836 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004658/0.6697, allocations: 1.339 MB / 0.7849 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.6697, allocations: 56.22 kB / 0.785 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.6723, allocations: 1.549 MB / 0.7865 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.6724, allocations: 38.23 kB / 0.7865 GB, free: 8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.6729, allocations: 0.6712 MB / 0.7872 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.673, allocations: 169.4 kB / 0.7873 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.6733, allocations: 175.4 kB / 0.7875 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.6734, allocations: 338 kB / 0.7878 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008383/0.6742, allocations: 366.2 kB / 0.7882 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009758/0.6752, allocations: 0.6618 MB / 0.7888 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.6767, allocations: 0.8796 MB / 0.7897 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.6767, allocations: 2.5 kB / 0.7897 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002834/0.6795, allocations: 1.195 MB / 0.7909 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.6796, allocations: 7.688 kB / 0.7909 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6796, allocations: 8.344 kB / 0.7909 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/0.6805, allocations: 226.4 kB / 0.7911 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.6813, allocations: 194.8 kB / 0.7913 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007403/0.6821, allocations: 0.7273 MB / 0.792 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6839, allocations: 205.5 kB / 0.7922 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.684, allocations: 42.66 kB / 0.7922 GB, free: 4.816 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.000761/0.6848, allocations: 359.4 kB / 0.7926 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.6851, allocations: 148.9 kB / 0.7927 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.6873, allocations: 1.143 MB / 0.7938 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.6873, allocations: 8.641 kB / 0.7938 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6873, allocations: 0 / 0.7938 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6873, allocations: 6.672 kB / 0.7938 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.692, allocations: 2.514 MB / 0.7963 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.692, allocations: 0 / 0.7963 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.6923, allocations: 86.25 kB / 0.7964 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007038/0.693, allocations: 210.2 kB / 0.7966 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.6931, allocations: 20.33 kB / 0.7966 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.6941, allocations: 0.7635 MB / 0.7973 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.6942, allocations: 10.06 kB / 0.7974 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.6973, allocations: 1.202 MB / 0.7985 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.698, allocations: 358.1 kB / 0.7989 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.6982, allocations: 21.36 kB / 0.7989 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.6991, allocations: 74.77 kB / 0.799 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.6992, allocations: 42.19 kB / 0.799 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.6992, allocations: 29.92 kB / 0.799 GB, free: 472 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001643/0.7009, allocations: 1.081 MB / 0.8001 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7009, allocations: 0 / 0.8001 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001539/0.7024, allocations: 450 kB / 0.8005 GB, free: 15.77 MB / 0.5919 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.0009519/0.7034, allocations: 478.1 kB / 0.801 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.7056, allocations: 0.8498 MB / 0.8018 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7056, allocations: 3.562 kB / 0.8018 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.7068, allocations: 448.4 kB / 0.8022 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.7099, allocations: 0.7352 MB / 0.8029 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.7139, allocations: 2.279 MB / 0.8052 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.7147, allocations: 1.159 MB / 0.8063 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.7151, allocations: 124.6 kB / 0.8064 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.7151, allocations: 5.688 kB / 0.8064 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.05117/0.7662, allocations: 34.23 MB / 0.8399 GB, free: 12.55 MB / 0.6231 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)