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.002329/0.002329, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 130.7 MB / 138.7 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.001012/0.001012, allocations: 100.5 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.08e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5553, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/6.068, allocations: 1.893 GB / 2.521 GB, free: 19.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/6.068, allocations: 96 kB / 2.522 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.324/10.39, allocations: 1.039 GB / 3.56 GB, free: 12.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/10.39, allocations: 0 / 3.56 GB, free: 12.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003591/10.39, allocations: 51.92 kB / 3.56 GB, free: 12.09 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.007576/10.4, allocations: 2.063 MB / 3.562 GB, free: 9.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/10.4, allocations: 8.031 kB / 3.562 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/10.41, allocations: 0.6332 MB / 3.563 GB, free: 9.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/10.41, allocations: 1.427 MB / 3.564 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/10.41, allocations: 118.2 kB / 3.564 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/10.41, allocations: 72 kB / 3.564 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003041/10.42, allocations: 0.9808 MB / 3.565 GB, free: 6.668 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/10.42, allocations: 1.191 MB / 3.567 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/10.42, allocations: 0 / 3.567 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/10.42, allocations: 0 / 3.567 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/10.42, allocations: 46.22 kB / 3.567 GB, free: 5.355 MB / 0.698 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.6034/11.02, allocations: 5.621 MB / 3.572 GB, free: 94.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/11.02, allocations: 0.9472 MB / 3.573 GB, free: 94.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/11.03, allocations: 461.3 kB / 3.574 GB, free: 94.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/11.03, allocations: 311.9 kB / 3.574 GB, free: 93.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/11.03, allocations: 0.5064 MB / 3.574 GB, free: 93.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.439e-06/11.03, allocations: 2.312 kB / 3.574 GB, free: 93.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.009948/11.04, allocations: 2.985 MB / 3.577 GB, free: 93.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/11.04, allocations: 195 kB / 3.577 GB, free: 93.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/11.04, allocations: 0.9169 MB / 3.578 GB, free: 92.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/11.04, allocations: 29.02 kB / 3.578 GB, free: 92.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/11.04, allocations: 0.7394 MB / 3.579 GB, free: 92.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/11.04, allocations: 314.8 kB / 3.579 GB, free: 92.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/11.04, allocations: 3.812 kB / 3.579 GB, free: 92.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/11.04, allocations: 339.8 kB / 3.58 GB, free: 92.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/11.04, allocations: 370.1 kB / 3.58 GB, free: 92.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/11.04, allocations: 0.5848 MB / 3.581 GB, free: 92.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/11.05, allocations: 1.341 MB / 3.582 GB, free: 91.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/11.05, allocations: 3.469 kB / 3.582 GB, free: 91.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003874/11.05, allocations: 1.614 MB / 3.583 GB, free: 91.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003516/11.05, allocations: 1.288 MB / 3.585 GB, free: 90.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/11.05, allocations: 3.688 kB / 3.585 GB, free: 90.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009294/11.05, allocations: 408.2 kB / 3.585 GB, free: 90.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/11.05, allocations: 177.7 kB / 3.585 GB, free: 90.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/11.06, allocations: 6.529 MB / 3.592 GB, free: 86.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/11.06, allocations: 123.8 kB / 3.592 GB, free: 86.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/11.06, allocations: 42.11 kB / 3.592 GB, free: 86.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/11.06, allocations: 6.625 kB / 3.592 GB, free: 86.12 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/11.06, allocations: 1.429 MB / 3.593 GB, free: 86.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/11.06, allocations: 7.094 kB / 3.593 GB, free: 86.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009144/11.06, allocations: 408.2 kB / 3.594 GB, free: 86.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/11.07, allocations: 183.2 kB / 3.594 GB, free: 86.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/11.07, allocations: 7.448 MB / 3.601 GB, free: 80.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/11.07, allocations: 122.7 kB / 3.601 GB, free: 80.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/11.07, allocations: 47.66 kB / 3.601 GB, free: 80.91 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0004946/11.08, allocations: 168.5 kB / 3.601 GB, free: 80.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/11.08, allocations: 152.9 kB / 3.602 GB, free: 80.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/11.08, allocations: 1.386 MB / 3.603 GB, free: 80.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/11.08, allocations: 10.69 kB / 3.603 GB, free: 80.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/11.08, allocations: 0 / 3.603 GB, free: 80.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/11.08, allocations: 1.29 MB / 3.604 GB, free: 80.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/11.09, allocations: 3.139 MB / 3.607 GB, free: 79.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/11.09, allocations: 3.75 kB / 3.607 GB, free: 79.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/11.09, allocations: 187.7 kB / 3.607 GB, free: 79.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/11.09, allocations: 195.8 kB / 3.608 GB, free: 79.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/11.09, allocations: 21.38 kB / 3.608 GB, free: 79.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/11.1, allocations: 2.425 MB / 3.61 GB, free: 78.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/11.1, allocations: 13.23 kB / 3.61 GB, free: 78.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004985/11.1, allocations: 2.321 MB / 3.612 GB, free: 77.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/11.1, allocations: 350.2 kB / 3.613 GB, free: 77.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/11.1, allocations: 11.53 kB / 3.613 GB, free: 77.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/11.1, allocations: 125.2 kB / 3.613 GB, free: 77.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/11.1, allocations: 75.39 kB / 3.613 GB, free: 77.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/11.1, allocations: 42.05 kB / 3.613 GB, free: 77.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001891/11.11, allocations: 0.6958 MB / 3.614 GB, free: 77.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/11.11, allocations: 0 / 3.614 GB, free: 77.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006901/11.11, allocations: 0.9686 MB / 3.614 GB, free: 77.14 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.005164/11.12, allocations: 2.63 MB / 3.617 GB, free: 76.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004491/11.12, allocations: 2.557 MB / 3.62 GB, free: 75.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/11.12, allocations: 0 / 3.62 GB, free: 75.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/11.12, allocations: 0.6747 MB / 3.62 GB, free: 75.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/11.13, allocations: 0.7135 MB / 3.621 GB, free: 75.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/11.14, allocations: 2.527 MB / 3.623 GB, free: 74.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/11.14, allocations: 1.398 MB / 3.625 GB, free: 73.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002813/11.14, allocations: 419.8 kB / 3.625 GB, free: 73.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/11.14, allocations: 84.31 kB / 3.625 GB, free: 73.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.924e-06/11.14, allocations: 0 / 3.625 GB, free: 73.82 MB / 0.698 GB Notification: Performance of Templates: time 0.08626/11.23, allocations: 46.36 MB / 3.67 GB, free: 72.21 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)