Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005695/0.005695, allocations: 173.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.3 MB / 148.1 MB, free: 212 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 403.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009287/0.0009288, allocations: 94.36 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4315, allocations: 81.57 MB / 0.6437 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.563/4.995, allocations: 1.894 GB / 2.538 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/4.995, allocations: 95.95 kB / 2.538 GB, free: 108 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.782/8.777, allocations: 1.051 GB / 3.589 GB, free: 93.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/8.777, allocations: 0 / 3.589 GB, free: 93.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001749/8.777, allocations: 47.52 kB / 3.589 GB, free: 93.23 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006111/8.783, allocations: 2.377 MB / 3.591 GB, free: 91.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/8.783, allocations: 11.5 kB / 3.591 GB, free: 91.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/8.787, allocations: 0.6255 MB / 3.592 GB, free: 91.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/8.791, allocations: 1.442 MB / 3.593 GB, free: 90.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/8.792, allocations: 162.1 kB / 3.593 GB, free: 90.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/8.792, allocations: 118.2 kB / 3.593 GB, free: 90.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/8.795, allocations: 1.465 MB / 3.595 GB, free: 88.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/8.795, allocations: 3.938 kB / 3.595 GB, free: 88.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/8.795, allocations: 48 kB / 3.595 GB, free: 88.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/8.795, allocations: 42.22 kB / 3.595 GB, free: 88.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/8.798, allocations: 1.258 MB / 3.596 GB, free: 87.55 MB / 0.698 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.008664/8.806, allocations: 5.873 MB / 3.602 GB, free: 81.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/8.808, allocations: 1.178 MB / 3.603 GB, free: 80.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/8.809, allocations: 307.3 kB / 3.603 GB, free: 79.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/8.81, allocations: 0.6309 MB / 3.604 GB, free: 79.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.037e-06/8.81, allocations: 0 / 3.604 GB, free: 79.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01201/8.822, allocations: 4.418 MB / 3.608 GB, free: 74.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/8.822, allocations: 196.9 kB / 3.608 GB, free: 74.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/8.824, allocations: 1.159 MB / 3.609 GB, free: 73.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/8.825, allocations: 45.7 kB / 3.609 GB, free: 73.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/8.825, allocations: 0.728 MB / 3.61 GB, free: 72.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/8.826, allocations: 323.2 kB / 3.61 GB, free: 72.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/8.826, allocations: 16 kB / 3.61 GB, free: 72.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/8.826, allocations: 349.9 kB / 3.611 GB, free: 71.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/8.827, allocations: 485.7 kB / 3.611 GB, free: 71.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/8.828, allocations: 0.7064 MB / 3.612 GB, free: 70.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/8.839, allocations: 2.552 MB / 3.614 GB, free: 68.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/8.839, allocations: 0 / 3.614 GB, free: 68.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00496/8.844, allocations: 1.816 MB / 3.616 GB, free: 66.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003306/8.845, allocations: 1.3 MB / 3.617 GB, free: 64.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/8.845, allocations: 4 kB / 3.617 GB, free: 64.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/8.846, allocations: 457.3 kB / 3.618 GB, free: 64.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/8.847, allocations: 175.7 kB / 3.618 GB, free: 64.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/8.854, allocations: 7.22 MB / 3.625 GB, free: 56.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/8.856, allocations: 151.8 kB / 3.625 GB, free: 56.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/8.857, allocations: 39.98 kB / 3.625 GB, free: 56.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/8.857, allocations: 4 kB / 3.625 GB, free: 56.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004075/8.861, allocations: 1.664 MB / 3.627 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/8.861, allocations: 7.953 kB / 3.627 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/8.862, allocations: 453.9 kB / 3.627 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/8.862, allocations: 171.8 kB / 3.628 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008129/8.871, allocations: 8.233 MB / 3.636 GB, free: 45.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/8.873, allocations: 143.7 kB / 3.636 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/8.873, allocations: 39.98 kB / 3.636 GB, free: 45.09 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001377/8.874, allocations: 0.4969 MB / 3.636 GB, free: 44.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/8.875, allocations: 173.4 kB / 3.636 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/8.879, allocations: 1.679 MB / 3.638 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/8.879, allocations: 12 kB / 3.638 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/8.879, allocations: 0 / 3.638 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003452/8.883, allocations: 1.533 MB / 3.64 GB, free: 41.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/8.891, allocations: 3.544 MB / 3.643 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/8.891, allocations: 8.438 kB / 3.643 GB, free: 37.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/8.892, allocations: 190.4 kB / 3.643 GB, free: 37.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006399/8.892, allocations: 243.6 kB / 3.643 GB, free: 37.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/8.892, allocations: 27.98 kB / 3.643 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/8.896, allocations: 2.718 MB / 3.646 GB, free: 34.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/8.896, allocations: 7.938 kB / 3.646 GB, free: 34.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/8.901, allocations: 2.696 MB / 3.649 GB, free: 31.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/8.902, allocations: 367.1 kB / 3.649 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/8.903, allocations: 39.94 kB / 3.649 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/8.904, allocations: 143.7 kB / 3.649 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/8.904, allocations: 64.52 kB / 3.649 GB, free: 30.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/8.905, allocations: 43.94 kB / 3.649 GB, free: 30.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001615/8.906, allocations: 0.914 MB / 3.65 GB, free: 29.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.906, allocations: 0 / 3.65 GB, free: 29.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004287/8.91, allocations: 1.018 MB / 3.651 GB, free: 28.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00379/8.914, allocations: 2.363 MB / 3.654 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005065/8.919, allocations: 2.95 MB / 3.656 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/8.919, allocations: 0 / 3.656 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/8.921, allocations: 0.8091 MB / 3.657 GB, free: 22.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/8.925, allocations: 0.8665 MB / 3.658 GB, free: 21.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/8.933, allocations: 3.949 MB / 3.662 GB, free: 17.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/8.935, allocations: 1.387 MB / 3.663 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002147/8.937, allocations: 336.3 kB / 3.664 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/8.937, allocations: 111.4 kB / 3.664 GB, free: 15.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.743e-06/8.937, allocations: 3.938 kB / 3.664 GB, free: 15.92 MB / 0.698 GB Notification: Performance of Templates: time 0.519/9.456, allocations: 61.87 MB / 3.724 GB, free: 97.78 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)