Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.319/0.319, allocations: 54.41 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001106/0.001106, allocations: 184.1 kB / 75.61 MB, free: 0.7773 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.665/1.665, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 108 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.266e-05, allocations: 0 / 405.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3721, allocations: 57.65 MB / 463.1 MB, free: 51.65 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/6.131, allocations: 2.142 GB / 2.595 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/6.132, allocations: 87.16 kB / 2.595 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.333/9.465, allocations: 0.8468 GB / 3.442 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.355e-06/9.465, allocations: 0 / 3.442 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003815/9.465, allocations: 47.33 kB / 3.442 GB, free: 47.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.007835/9.473, allocations: 2.12 MB / 3.444 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/9.473, allocations: 10.06 kB / 3.444 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/9.478, allocations: 0.6096 MB / 3.444 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/9.482, allocations: 1.544 MB / 3.446 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/9.483, allocations: 48.47 kB / 3.446 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/9.483, allocations: 80.72 kB / 3.446 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002536/9.486, allocations: 1.026 MB / 3.447 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/9.488, allocations: 1.261 MB / 3.448 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/9.488, allocations: 3.953 kB / 3.448 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/9.489, allocations: 7.375 kB / 3.448 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/9.489, allocations: 41.2 kB / 3.448 GB, free: 45.82 MB / 0.5105 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.009435/9.498, allocations: 5.713 MB / 3.454 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/9.499, allocations: 0.8318 MB / 3.455 GB, free: 42.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/9.5, allocations: 420.1 kB / 3.455 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/9.5, allocations: 114.1 kB / 3.455 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007714/9.501, allocations: 0.5986 MB / 3.456 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 3.526e-06/9.501, allocations: 0 / 3.456 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92): time 0.008514/9.509, allocations: 3.239 MB / 3.459 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/9.509, allocations: 480 kB / 3.459 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/9.511, allocations: 0.9416 MB / 3.46 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/9.511, allocations: 29.58 kB / 3.46 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/9.512, allocations: 0.7972 MB / 3.461 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/9.512, allocations: 304 kB / 3.461 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/9.512, allocations: 0 / 3.461 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001013/9.512, allocations: 343.8 kB / 3.462 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/9.513, allocations: 370.1 kB / 3.462 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/9.514, allocations: 0.6511 MB / 3.463 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/9.518, allocations: 1.279 MB / 3.464 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/9.518, allocations: 1.125 kB / 3.464 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003739/9.521, allocations: 1.537 MB / 3.465 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004535/9.522, allocations: 1.65 MB / 3.467 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/9.522, allocations: 7.594 kB / 3.467 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/9.523, allocations: 372 kB / 3.467 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/9.524, allocations: 174.3 kB / 3.468 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/9.529, allocations: 6.365 MB / 3.474 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/9.531, allocations: 105.9 kB / 3.474 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/9.532, allocations: 38.86 kB / 3.474 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/9.532, allocations: 4 kB / 3.474 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003321/9.535, allocations: 1.38 MB / 3.475 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/9.535, allocations: 7.656 kB / 3.475 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/9.536, allocations: 362.1 kB / 3.476 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/9.537, allocations: 159.6 kB / 3.476 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/9.544, allocations: 7.274 MB / 3.483 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/9.545, allocations: 93.05 kB / 3.483 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/9.545, allocations: 39.61 kB / 3.483 GB, free: 19.81 MB / 0.5105 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: 18 * 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 (95): * Single equations (assignments): 90 * 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.0004977/9.546, allocations: 170 kB / 3.483 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/9.546, allocations: 162.1 kB / 3.483 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/9.55, allocations: 1.211 MB / 3.484 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/9.55, allocations: 15.95 kB / 3.484 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/9.55, allocations: 0 / 3.484 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002388/9.552, allocations: 1.107 MB / 3.486 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/9.559, allocations: 2.974 MB / 3.488 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/9.559, allocations: 4.344 kB / 3.488 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/9.56, allocations: 166.5 kB / 3.489 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/9.56, allocations: 159.9 kB / 3.489 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/9.56, allocations: 19.84 kB / 3.489 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/9.563, allocations: 3.292 MB / 3.492 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/9.563, allocations: 4 kB / 3.492 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/9.567, allocations: 2.016 MB / 3.494 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009708/9.568, allocations: 349.5 kB / 3.494 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/9.569, allocations: 15.47 kB / 3.494 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/9.57, allocations: 98.7 kB / 3.494 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/9.57, allocations: 64.64 kB / 3.494 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/9.57, allocations: 43.75 kB / 3.495 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001237/9.572, allocations: 0.7059 MB / 3.495 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/9.572, allocations: 0 / 3.495 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004768/9.576, allocations: 0.9447 MB / 3.496 GB, free: 7.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (78): * Single equations (assignments): 75 * 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.003706/9.58, allocations: 2.554 MB / 3.499 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003481/9.584, allocations: 2.561 MB / 3.501 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/9.584, allocations: 384 / 3.501 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/9.584, allocations: 0.7597 MB / 3.502 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/9.588, allocations: 0.6873 MB / 3.503 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006913/9.595, allocations: 2.495 MB / 3.505 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/9.597, allocations: 1.426 MB / 3.506 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002731/9.6, allocations: 435.4 kB / 3.507 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/9.6, allocations: 83.42 kB / 3.507 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of SimCode: time 4e-07/9.6, allocations: 0 / 3.507 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.4777/10.08, allocations: 46.47 MB / 3.552 GB, free: 63.05 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)