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.3955/0.3955, allocations: 55.01 MB / 69.96 MB, free: 8.664 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.001202/0.001202, allocations: 187.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.75/1.75, allocations: 194.4 MB / 292.3 MB, free: 3.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 108.6 kB / 350.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 57.65 MB / 476.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.171, allocations: 2.143 GB / 2.608 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.172, allocations: 96.58 kB / 2.609 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.444/8.616, allocations: 0.8574 GB / 3.466 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.336e-06/8.616, allocations: 2.281 kB / 3.466 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003752/8.617, allocations: 50.92 kB / 3.466 GB, free: 63.07 MB / 0.5261 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.008844/8.625, allocations: 2.421 MB / 3.468 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/8.625, allocations: 7.094 kB / 3.468 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/8.63, allocations: 0.6054 MB / 3.469 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/8.634, allocations: 1.561 MB / 3.471 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/8.634, allocations: 103.5 kB / 3.471 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/8.635, allocations: 127 kB / 3.471 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/8.638, allocations: 1.552 MB / 3.472 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/8.638, allocations: 3.656 kB / 3.472 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/8.638, allocations: 57.03 kB / 3.472 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/8.638, allocations: 43.05 kB / 3.472 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/8.641, allocations: 1.241 MB / 3.474 GB, free: 61.28 MB / 0.5261 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.009216/8.65, allocations: 6.009 MB / 3.479 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/8.652, allocations: 1.01 MB / 3.48 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/8.652, allocations: 108.8 kB / 3.481 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/8.654, allocations: 0.7159 MB / 3.481 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=84): time 4.398e-06/8.654, allocations: 0 / 3.481 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92): time 0.01101/8.665, allocations: 4.313 MB / 3.485 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/8.665, allocations: 479.2 kB / 3.486 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/8.667, allocations: 1.244 MB / 3.487 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/8.667, allocations: 44.02 kB / 3.487 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/8.668, allocations: 0.7911 MB / 3.488 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/8.668, allocations: 315.2 kB / 3.488 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/8.668, allocations: 19.97 kB / 3.488 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/8.668, allocations: 341.7 kB / 3.489 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/8.669, allocations: 443.5 kB / 3.489 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/8.67, allocations: 0.7407 MB / 3.49 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007794/8.678, allocations: 1.746 MB / 3.491 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/8.678, allocations: 1.812 kB / 3.491 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004219/8.682, allocations: 1.67 MB / 3.493 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/8.682, allocations: 1.659 MB / 3.495 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/8.682, allocations: 11.39 kB / 3.495 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/8.684, allocations: 396.4 kB / 3.495 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/8.684, allocations: 171.8 kB / 3.495 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006995/8.691, allocations: 6.909 MB / 3.502 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/8.694, allocations: 140.1 kB / 3.502 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/8.694, allocations: 44.55 kB / 3.502 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/8.694, allocations: 7.641 kB / 3.502 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00299/8.697, allocations: 1.456 MB / 3.504 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/8.697, allocations: 3.812 kB / 3.504 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/8.698, allocations: 371.1 kB / 3.504 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/8.698, allocations: 154.8 kB / 3.504 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/8.706, allocations: 7.85 MB / 3.512 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/8.707, allocations: 116.3 kB / 3.512 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/8.708, allocations: 41.09 kB / 3.512 GB, free: 42.88 MB / 0.5261 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 ($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 (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.001219/8.709, allocations: 0.529 MB / 3.512 GB, free: 42.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/8.709, allocations: 174.9 kB / 3.513 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/8.713, allocations: 1.416 MB / 3.514 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/8.713, allocations: 8.281 kB / 3.514 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/8.713, allocations: 3.969 kB / 3.514 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003259/8.716, allocations: 1.277 MB / 3.515 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007456/8.724, allocations: 3.293 MB / 3.518 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/8.724, allocations: 7.641 kB / 3.518 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/8.724, allocations: 163.7 kB / 3.519 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/8.725, allocations: 184.6 kB / 3.519 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/8.725, allocations: 29.81 kB / 3.519 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/8.73, allocations: 3.576 MB / 3.522 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/8.73, allocations: 3.688 kB / 3.522 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/8.735, allocations: 2.257 MB / 3.525 GB, free: 38.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/8.736, allocations: 369.5 kB / 3.525 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/8.737, allocations: 33.27 kB / 3.525 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/8.738, allocations: 116.6 kB / 3.525 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/8.738, allocations: 72.98 kB / 3.525 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/8.738, allocations: 42.52 kB / 3.525 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001757/8.74, allocations: 0.97 MB / 3.526 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/8.74, allocations: 0 / 3.526 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004741/8.745, allocations: 1.006 MB / 3.527 GB, free: 37.89 MB / 0.5261 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.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 (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.004015/8.749, allocations: 2.306 MB / 3.529 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004599/8.753, allocations: 2.82 MB / 3.532 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/8.753, allocations: 6.031 kB / 3.532 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/8.754, allocations: 0.8392 MB / 3.533 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003871/8.758, allocations: 0.8856 MB / 3.534 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/8.765, allocations: 3.879 MB / 3.538 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/8.766, allocations: 1.422 MB / 3.539 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001834/8.768, allocations: 358 kB / 3.539 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/8.768, allocations: 117.3 kB / 3.539 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/8.768, allocations: 0 / 3.539 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.08636/8.854, allocations: 62.61 MB / 3.601 GB, free: 8.215 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)