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.001545/0.001545, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 130.6 MB / 143.8 MB, free: 13.56 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.739/1.739, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 99.77 kB / 478.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.444e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 81.58 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.302/5.472, allocations: 1.894 GB / 2.529 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/5.473, allocations: 97.73 kB / 2.529 GB, free: 28.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.089/9.562, allocations: 1.05 GB / 3.578 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/9.562, allocations: 0 / 3.578 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001612/9.562, allocations: 43.98 kB / 3.578 GB, free: 10.48 MB / 0.6823 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.004974/9.567, allocations: 2.068 MB / 3.58 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/9.567, allocations: 8.031 kB / 3.58 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/9.571, allocations: 0.6266 MB / 3.581 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/9.575, allocations: 1.434 MB / 3.582 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003986/9.575, allocations: 158.2 kB / 3.583 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/9.576, allocations: 127.4 kB / 3.583 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/9.578, allocations: 1.352 MB / 3.584 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/9.578, allocations: 3.906 kB / 3.584 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/9.578, allocations: 51.95 kB / 3.584 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/9.578, allocations: 42.22 kB / 3.584 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/9.58, allocations: 1.047 MB / 3.585 GB, free: 3.363 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00949/9.59, allocations: 5.874 MB / 3.591 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/9.591, allocations: 0.9774 MB / 3.592 GB, free: 12.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/9.592, allocations: 483.1 kB / 3.592 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/9.592, allocations: 312 kB / 3.593 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009248/9.593, allocations: 0.5384 MB / 3.593 GB, free: 10.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.98e-06/9.593, allocations: 0 / 3.593 GB, free: 10.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.007792/9.601, allocations: 3.039 MB / 3.596 GB, free: 7.648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/9.601, allocations: 200.5 kB / 3.596 GB, free: 7.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/9.603, allocations: 1.146 MB / 3.597 GB, free: 6.258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/9.604, allocations: 49.7 kB / 3.597 GB, free: 6.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007383/9.604, allocations: 0.7254 MB / 3.598 GB, free: 5.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/9.605, allocations: 323.3 kB / 3.598 GB, free: 5.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/9.605, allocations: 20 kB / 3.598 GB, free: 5.129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001549/9.605, allocations: 341.9 kB / 3.599 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/9.606, allocations: 381.9 kB / 3.599 GB, free: 4.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/9.606, allocations: 0.6126 MB / 3.6 GB, free: 3.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/9.617, allocations: 2.373 MB / 3.602 GB, free: 1.312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/9.617, allocations: 0 / 3.602 GB, free: 1.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.5828/10.2, allocations: 1.646 MB / 3.604 GB, free: 89.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003679/10.2, allocations: 1.306 MB / 3.605 GB, free: 87.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/10.2, allocations: 0.8438 kB / 3.605 GB, free: 87.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/10.2, allocations: 415.3 kB / 3.605 GB, free: 87.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/10.2, allocations: 180.7 kB / 3.606 GB, free: 87.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008242/10.21, allocations: 6.895 MB / 3.612 GB, free: 83.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/10.21, allocations: 142.5 kB / 3.612 GB, free: 83.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/10.21, allocations: 41.33 kB / 3.612 GB, free: 83.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/10.21, allocations: 4.688 kB / 3.612 GB, free: 83.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004949/10.22, allocations: 1.504 MB / 3.614 GB, free: 83.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/10.22, allocations: 7.812 kB / 3.614 GB, free: 83.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/10.22, allocations: 413 kB / 3.614 GB, free: 83.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008572/10.22, allocations: 171.1 kB / 3.614 GB, free: 83.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008119/10.23, allocations: 7.885 MB / 3.622 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/10.23, allocations: 146.4 kB / 3.622 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/10.23, allocations: 37.62 kB / 3.622 GB, free: 77.86 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 () * 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.0003962/10.23, allocations: 204 kB / 3.623 GB, free: 77.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/10.23, allocations: 171.8 kB / 3.623 GB, free: 77.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/10.24, allocations: 1.453 MB / 3.624 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/10.24, allocations: 10.38 kB / 3.624 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/10.24, allocations: 3.938 kB / 3.624 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002627/10.24, allocations: 1.312 MB / 3.625 GB, free: 77.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/10.25, allocations: 3.343 MB / 3.629 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/10.25, allocations: 4.062 kB / 3.629 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/10.25, allocations: 194.9 kB / 3.629 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/10.25, allocations: 197.1 kB / 3.629 GB, free: 76.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/10.25, allocations: 31.53 kB / 3.629 GB, free: 76.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/10.25, allocations: 2.497 MB / 3.632 GB, free: 75.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/10.25, allocations: 5.781 kB / 3.632 GB, free: 75.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/10.25, allocations: 2.408 MB / 3.634 GB, free: 74.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/10.26, allocations: 364.1 kB / 3.634 GB, free: 74.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/10.26, allocations: 29.25 kB / 3.634 GB, free: 74.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/10.26, allocations: 143.2 kB / 3.634 GB, free: 74.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/10.26, allocations: 70.34 kB / 3.634 GB, free: 74.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/10.26, allocations: 42.59 kB / 3.635 GB, free: 74.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00152/10.26, allocations: 0.8926 MB / 3.635 GB, free: 74.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/10.26, allocations: 3.562 kB / 3.635 GB, free: 74.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004758/10.26, allocations: 1.021 MB / 3.636 GB, free: 74.03 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.X[2],heaDyn.vol.dynBal.medium.dT,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) * 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.004894/10.27, allocations: 2.382 MB / 3.639 GB, free: 73.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004719/10.27, allocations: 2.701 MB / 3.641 GB, free: 72.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/10.27, allocations: 1.375 kB / 3.641 GB, free: 72.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/10.28, allocations: 0.7056 MB / 3.642 GB, free: 72.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005371/10.28, allocations: 0.8683 MB / 3.643 GB, free: 72.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/10.29, allocations: 2.601 MB / 3.645 GB, free: 71.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/10.29, allocations: 1.387 MB / 3.647 GB, free: 70.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00302/10.29, allocations: 0.4952 MB / 3.647 GB, free: 70.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/10.29, allocations: 86.64 kB / 3.647 GB, free: 70.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/10.29, allocations: 0 / 3.647 GB, free: 70.61 MB / 0.698 GB Notification: Performance of Templates: time 0.1058/10.4, allocations: 70.45 MB / 3.716 GB, free: 68.15 MB / 0.698 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)