Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007475/0.007475, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001762/0.001762, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8072/0.8072, allocations: 135.2 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.53 kB / 0.5857 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.153, allocations: 80.93 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6788/0.8318, allocations: 300.3 MB / 0.958 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07569/0.9075, allocations: 49.95 MB / 1.007 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/0.9222, allocations: 298.2 kB / 1.007 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.9341, allocations: 3.517 MB / 1.01 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03042/0.9646, allocations: 9.466 MB / 1.02 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01888/0.9835, allocations: 6.69 MB / 1.026 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03229/1.016, allocations: 18.51 MB / 1.044 GB, free: 3.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5346/1.55, allocations: 5.857 MB / 1.05 GB, free: 46.13 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02135/1.572, allocations: 7.561 MB / 1.057 GB, free: 46.13 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/1.586, allocations: 5.095 MB / 1.062 GB, free: 45.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003901/1.59, allocations: 0.5685 MB / 1.063 GB, free: 45.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/1.609, allocations: 4.382 MB / 1.067 GB, free: 45.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003336/1.612, allocations: 1.505 MB / 1.069 GB, free: 45.31 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008968/1.621, allocations: 3.738 MB / 1.072 GB, free: 44.28 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02125/1.643, allocations: 10.44 MB / 1.083 GB, free: 43.04 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.643, allocations: 3.688 kB / 1.083 GB, free: 43.04 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/1.643, allocations: 0 / 1.083 GB, free: 43.04 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002542/1.643, allocations: 0 / 1.083 GB, free: 43.04 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02041/1.663, allocations: 7.479 MB / 1.09 GB, free: 39.64 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.663, allocations: 8.203 kB / 1.09 GB, free: 39.64 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.666, allocations: 0.7924 MB / 1.091 GB, free: 39.26 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.678, allocations: 5.351 MB / 1.096 GB, free: 38.15 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/1.678, allocations: 320.7 kB / 1.096 GB, free: 38.14 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005959/1.679, allocations: 433.4 kB / 1.097 GB, free: 38.13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006954/1.686, allocations: 4.381 MB / 1.101 GB, free: 37.33 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-05/1.686, allocations: 17.5 kB / 1.101 GB, free: 37.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.686, allocations: 173.5 kB / 1.101 GB, free: 37.32 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/1.686, allocations: 122.4 kB / 1.101 GB, free: 37.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/1.691, allocations: 2.959 MB / 1.104 GB, free: 37.29 MB / 0.795 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.02338/1.714, allocations: 25.12 MB / 1.129 GB, free: 21.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/1.717, allocations: 2.768 MB / 1.131 GB, free: 20.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/1.718, allocations: 0.9987 MB / 1.132 GB, free: 20.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/1.72, allocations: 3.903 MB / 1.136 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.72, allocations: 70.5 kB / 1.136 GB, free: 15.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.037e-06/1.72, allocations: 3.594 kB / 1.136 GB, free: 15.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.009286/1.729, allocations: 4.058 MB / 1.14 GB, free: 14.92 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.729, allocations: 75.28 kB / 1.14 GB, free: 14.86 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005974/1.735, allocations: 4.302 MB / 1.144 GB, free: 14.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005133/1.736, allocations: 84.2 kB / 1.144 GB, free: 14.47 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/1.738, allocations: 2.773 MB / 1.147 GB, free: 13.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000924/1.739, allocations: 0.7592 MB / 1.148 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008232/1.74, allocations: 0.5718 MB / 1.148 GB, free: 13.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/1.74, allocations: 301.1 kB / 1.149 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.741, allocations: 0.817 MB / 1.15 GB, free: 12.74 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.743, allocations: 1.826 MB / 1.151 GB, free: 11.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/1.746, allocations: 2.514 MB / 1.154 GB, free: 10.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/1.746, allocations: 4.156 kB / 1.154 GB, free: 10.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00791/1.754, allocations: 3.558 MB / 1.157 GB, free: 10.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/1.754, allocations: 15.62 kB / 1.157 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.754, allocations: 22.94 kB / 1.157 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/1.757, allocations: 0.5766 MB / 1.158 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.758, allocations: 0.5593 MB / 1.158 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/1.76, allocations: 2.688 MB / 1.161 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/1.764, allocations: 323.9 kB / 1.161 GB, free: 7.895 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/1.765, allocations: 138.5 kB / 1.161 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002915/1.768, allocations: 1.568 MB / 1.163 GB, free: 7.805 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001625/1.769, allocations: 1.792 MB / 1.165 GB, free: 6.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002803/1.772, allocations: 2.466 MB / 1.167 GB, free: 5.758 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.211e-05/1.772, allocations: 10.73 kB / 1.167 GB, free: 5.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005932/1.778, allocations: 3.316 MB / 1.17 GB, free: 5.301 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.778, allocations: 14.81 kB / 1.17 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.778, allocations: 18.22 kB / 1.17 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/1.779, allocations: 371.8 kB / 1.171 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.78, allocations: 0.553 MB / 1.171 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/1.787, allocations: 8.464 MB / 1.18 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.792, allocations: 293.5 kB / 1.18 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/1.792, allocations: 131.6 kB / 1.18 GB, free: 14.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008835/1.793, allocations: 365.1 kB / 1.18 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.795, allocations: 0.508 MB / 1.181 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006216/1.801, allocations: 3.555 MB / 1.184 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/1.801, allocations: 36.72 kB / 1.184 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.801, allocations: 3.938 kB / 1.184 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003769/1.805, allocations: 2.437 MB / 1.187 GB, free: 10.69 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.01442/1.819, allocations: 8.202 MB / 1.195 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.819, allocations: 4.094 kB / 1.195 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.821, allocations: 362.8 kB / 1.195 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/1.821, allocations: 304.9 kB / 1.195 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.822, allocations: 67.84 kB / 1.195 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.823, allocations: 2.479 MB / 1.198 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.824, allocations: 0 / 1.198 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/1.831, allocations: 4.354 MB / 1.202 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/1.834, allocations: 0.8767 MB / 1.203 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.835, allocations: 43.98 kB / 1.203 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.838, allocations: 123.8 kB / 1.203 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.838, allocations: 145.8 kB / 1.203 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/1.838, allocations: 111.9 kB / 1.203 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00507/1.843, allocations: 2.852 MB / 1.206 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/1.844, allocations: 3.938 kB / 1.206 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01137/1.855, allocations: 3.238 MB / 1.209 GB, free: 6.234 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003382/1.858, allocations: 1.506 MB / 1.211 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008314/1.867, allocations: 4.431 MB / 1.215 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.867, allocations: 0 / 1.215 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.869, allocations: 1.233 MB / 1.216 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01305/1.882, allocations: 2.635 MB / 1.219 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.899, allocations: 9.004 MB / 1.228 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/1.901, allocations: 2.877 MB / 1.231 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004952/1.906, allocations: 1.157 MB / 1.232 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.907, allocations: 421.2 kB / 1.232 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of SimCode: time 9.71e-07/1.907, allocations: 0 / 1.232 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.1773/2.085, allocations: 105 MB / 1.335 GB, free: 8 MB / 0.9512 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)