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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01122/0.01122, allocations: 170.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8267/0.8267, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 406.9 MB, free: 3.199 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.0009636/0.0009636, allocations: 108.7 kB / 490 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003584, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4738, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.31, allocations: 1.894 GB / 2.544 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/5.31, allocations: 95.95 kB / 2.544 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.802/9.112, allocations: 1.051 GB / 3.594 GB, free: 58.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/9.112, allocations: 0 / 3.594 GB, free: 58.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001515/9.112, allocations: 47.16 kB / 3.595 GB, free: 58.5 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.005434/9.117, allocations: 2.378 MB / 3.597 GB, free: 56.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/9.117, allocations: 8.031 kB / 3.597 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/9.121, allocations: 0.6276 MB / 3.597 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/9.125, allocations: 1.442 MB / 3.599 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/9.125, allocations: 161 kB / 3.599 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/9.125, allocations: 120 kB / 3.599 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/9.128, allocations: 1.457 MB / 3.601 GB, free: 52.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/9.128, allocations: 3.938 kB / 3.601 GB, free: 52.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/9.128, allocations: 48 kB / 3.601 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/9.128, allocations: 45.06 kB / 3.601 GB, free: 52.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/9.131, allocations: 1.254 MB / 3.602 GB, free: 50.77 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.008295/9.139, allocations: 5.879 MB / 3.608 GB, free: 44.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/9.141, allocations: 1.169 MB / 3.609 GB, free: 43.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000509/9.141, allocations: 315.8 kB / 3.609 GB, free: 43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/9.143, allocations: 0.6321 MB / 3.61 GB, free: 42.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.88e-06/9.143, allocations: 3.516 kB / 3.61 GB, free: 42.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.011/9.154, allocations: 4.418 MB / 3.614 GB, free: 37.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/9.154, allocations: 192.9 kB / 3.614 GB, free: 37.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/9.155, allocations: 1.159 MB / 3.615 GB, free: 36.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/9.155, allocations: 53.7 kB / 3.615 GB, free: 36.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/9.156, allocations: 0.7215 MB / 3.616 GB, free: 35.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/9.156, allocations: 327.3 kB / 3.616 GB, free: 35.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/9.156, allocations: 19.94 kB / 3.616 GB, free: 35.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/9.156, allocations: 349.9 kB / 3.617 GB, free: 34.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/9.157, allocations: 485.7 kB / 3.617 GB, free: 34.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/9.158, allocations: 0.7063 MB / 3.618 GB, free: 33.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/9.169, allocations: 2.551 MB / 3.62 GB, free: 31.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/9.169, allocations: 3.938 kB / 3.62 GB, free: 31.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004378/9.174, allocations: 1.822 MB / 3.622 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003276/9.174, allocations: 1.296 MB / 3.623 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/9.174, allocations: 8 kB / 3.623 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/9.175, allocations: 449.2 kB / 3.624 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/9.176, allocations: 175.7 kB / 3.624 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/9.183, allocations: 7.213 MB / 3.631 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/9.185, allocations: 151.7 kB / 3.631 GB, free: 19.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/9.185, allocations: 43.98 kB / 3.631 GB, free: 19.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/9.185, allocations: 4 kB / 3.631 GB, free: 19.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003854/9.189, allocations: 1.668 MB / 3.633 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/9.189, allocations: 4 kB / 3.633 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/9.19, allocations: 454.9 kB / 3.633 GB, free: 17.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/9.191, allocations: 171.8 kB / 3.633 GB, free: 17.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/9.199, allocations: 8.22 MB / 3.642 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/9.201, allocations: 147.8 kB / 3.642 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/9.201, allocations: 43.92 kB / 3.642 GB, free: 8.133 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.001167/9.202, allocations: 0.5036 MB / 3.642 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/9.202, allocations: 162 kB / 3.642 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/9.206, allocations: 1.685 MB / 3.644 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/9.206, allocations: 15.95 kB / 3.644 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/9.206, allocations: 0 / 3.644 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003319/9.21, allocations: 1.522 MB / 3.646 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/9.216, allocations: 3.549 MB / 3.649 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/9.217, allocations: 8.062 kB / 3.649 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/9.217, allocations: 191.8 kB / 3.649 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007753/9.218, allocations: 233.2 kB / 3.649 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/9.218, allocations: 31.98 kB / 3.649 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/9.224, allocations: 2.715 MB / 3.652 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/9.224, allocations: 7.938 kB / 3.652 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/9.232, allocations: 2.708 MB / 3.655 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/9.234, allocations: 370.9 kB / 3.655 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/9.235, allocations: 31.94 kB / 3.655 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/9.237, allocations: 143.7 kB / 3.655 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/9.237, allocations: 72.5 kB / 3.655 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/9.237, allocations: 39.98 kB / 3.655 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002293/9.24, allocations: 0.914 MB / 3.656 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/9.24, allocations: 4 kB / 3.656 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006041/9.246, allocations: 1.015 MB / 3.657 GB, free: 7.66 MB / 0.7136 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.006735/9.252, allocations: 2.377 MB / 3.66 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009862/9.262, allocations: 2.947 MB / 3.662 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/9.262, allocations: 0 / 3.662 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/9.265, allocations: 0.8109 MB / 3.663 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008568/9.274, allocations: 0.8566 MB / 3.664 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.511/9.785, allocations: 3.931 MB / 3.668 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/9.787, allocations: 1.386 MB / 3.669 GB, free: 97.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003083/9.79, allocations: 340.5 kB / 3.67 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/9.791, allocations: 111.5 kB / 3.67 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/9.791, allocations: 1.188 kB / 3.67 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.1002/9.891, allocations: 61.88 MB / 3.73 GB, free: 96.36 MB / 0.7136 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)