Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008223, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9287/0.9287, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 0.5082 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5585/0.7333, allocations: 250.2 MB / 0.8329 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.7507, allocations: 9.601 MB / 0.8423 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.754, allocations: 67.56 kB / 0.8424 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.757, allocations: 0.8121 MB / 0.8432 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007679/0.7647, allocations: 2.479 MB / 0.8456 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.7705, allocations: 1.929 MB / 0.8475 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007213/0.7777, allocations: 5.43 MB / 0.8528 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.78, allocations: 1.279 MB / 0.854 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.7844, allocations: 1.68 MB / 0.8557 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.7876, allocations: 1.23 MB / 0.8569 GB, free: 9.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.7879, allocations: 67.94 kB / 0.8569 GB, free: 9.414 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00675/0.7947, allocations: 3.495 MB / 0.8603 GB, free: 5.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.7955, allocations: 474.2 kB / 0.8608 GB, free: 5.445 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.7969, allocations: 0.9068 MB / 0.8617 GB, free: 4.527 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.801, allocations: 2.67 MB / 0.8643 GB, free: 1.852 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.801, allocations: 0 / 0.8643 GB, free: 1.852 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.963e-06/0.801, allocations: 0 / 0.8643 GB, free: 1.852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.485e-05/0.8011, allocations: 3.938 kB / 0.8643 GB, free: 1.848 MB / 0.67 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.2985/1.1, allocations: 2.129 MB / 0.8664 GB, free: 221.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.1, allocations: 9.125 kB / 0.8664 GB, free: 221.4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/1.104, allocations: 0.6494 MB / 0.867 GB, free: 221.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/1.106, allocations: 1.382 MB / 0.8684 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/1.106, allocations: 159.2 kB / 0.8685 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.106, allocations: 125 kB / 0.8686 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.109, allocations: 1.435 MB / 0.87 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/1.109, allocations: 2.969 kB / 0.87 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.109, allocations: 46.31 kB / 0.8701 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/1.109, allocations: 45.38 kB / 0.8701 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/1.111, allocations: 1.215 MB / 0.8713 GB, free: 220.6 MB / 0.67 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.006601/1.118, allocations: 5.704 MB / 0.8769 GB, free: 217.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.12, allocations: 1.05 MB / 0.8779 GB, free: 216.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008877/1.12, allocations: 0.5416 MB / 0.8784 GB, free: 216.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/1.121, allocations: 330.1 kB / 0.8788 GB, free: 216.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/1.122, allocations: 0.5763 MB / 0.8793 GB, free: 216.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.895e-06/1.122, allocations: 3.938 kB / 0.8793 GB, free: 216.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.007588/1.13, allocations: 3.651 MB / 0.8829 GB, free: 214.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.13, allocations: 86.89 kB / 0.883 GB, free: 214.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.131, allocations: 1.346 MB / 0.8843 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/1.131, allocations: 47.14 kB / 0.8843 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/1.132, allocations: 0.724 MB / 0.885 GB, free: 213.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/1.132, allocations: 321.9 kB / 0.8853 GB, free: 213 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.132, allocations: 95.98 kB / 0.8854 GB, free: 213 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/1.132, allocations: 347.9 kB / 0.8858 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008781/1.133, allocations: 465.8 kB / 0.8862 GB, free: 212.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000954/1.134, allocations: 0.6838 MB / 0.8869 GB, free: 212.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.147, allocations: 3.658 MB / 0.8904 GB, free: 211 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/1.147, allocations: 3.156 kB / 0.8905 GB, free: 211 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003106/1.15, allocations: 1.579 MB / 0.892 GB, free: 210.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.15, allocations: 245.2 kB / 0.8922 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.15, allocations: 9.969 kB / 0.8922 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/1.151, allocations: 240.1 kB / 0.8925 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/1.151, allocations: 203.2 kB / 0.8927 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/1.155, allocations: 4.496 MB / 0.8971 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.156, allocations: 141.5 kB / 0.8972 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/1.157, allocations: 42.03 kB / 0.8972 GB, free: 206 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.157, allocations: 2.562 kB / 0.8972 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002506/1.159, allocations: 1.401 MB / 0.8986 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.159, allocations: 5.656 kB / 0.8986 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004699/1.16, allocations: 224 kB / 0.8988 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/1.16, allocations: 204.3 kB / 0.899 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/1.165, allocations: 5.502 MB / 0.9044 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.166, allocations: 141.2 kB / 0.9045 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.821e-05/1.166, allocations: 40.56 kB / 0.9046 GB, free: 200.5 MB / 0.67 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: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008883/1.167, allocations: 0.5085 MB / 0.9051 GB, free: 200.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/1.167, allocations: 162.1 kB / 0.9052 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.17, allocations: 1.327 MB / 0.9065 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.17, allocations: 8.281 kB / 0.9065 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/1.17, allocations: 0 / 0.9065 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002274/1.172, allocations: 1.191 MB / 0.9077 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.178, allocations: 3.108 MB / 0.9107 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.178, allocations: 7.562 kB / 0.9107 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/1.179, allocations: 194 kB / 0.9109 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/1.179, allocations: 55.25 kB / 0.911 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/1.179, allocations: 28.89 kB / 0.911 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002956/1.179, allocations: 0.5897 MB / 0.9116 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.179, allocations: 8.406 kB / 0.9116 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/1.183, allocations: 2.032 MB / 0.9136 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/1.184, allocations: 340.4 kB / 0.9139 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/1.184, allocations: 31.02 kB / 0.9139 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.185, allocations: 111.7 kB / 0.914 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.185, allocations: 69.08 kB / 0.9141 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/1.185, allocations: 36.72 kB / 0.9141 GB, free: 195.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001568/1.187, allocations: 0.9198 MB / 0.915 GB, free: 195.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.187, allocations: 2.406 kB / 0.915 GB, free: 195.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002953/1.19, allocations: 0.6971 MB / 0.9157 GB, free: 195.1 MB / 0.67 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007019/1.191, allocations: 316.5 kB / 0.916 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00442/1.195, allocations: 2.604 MB / 0.9185 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.195, allocations: 1.375 kB / 0.9185 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.196, allocations: 0.6229 MB / 0.9191 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/1.201, allocations: 0.8295 MB / 0.92 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/1.208, allocations: 4.001 MB / 0.9239 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.209, allocations: 1.348 MB / 0.9252 GB, free: 190 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/1.21, allocations: 119.7 kB / 0.9253 GB, free: 190 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/1.21, allocations: 0 / 0.9253 GB, free: 190 MB / 0.67 GB Notification: Performance of Templates: time 0.05612/1.266, allocations: 40.11 MB / 0.9645 GB, free: 163.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)