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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2811/0.2811, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001254/0.001254, allocations: 182.1 kB / 75.37 MB, free: 1.5 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.555/1.555, allocations: 194.2 MB / 283.2 MB, free: 3.52 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.001709/0.001709, allocations: 105.3 kB / 341.3 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.901e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 57.65 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.583/4.702, allocations: 2.142 GB / 2.594 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/4.702, allocations: 83.95 kB / 2.594 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.635/8.337, allocations: 0.8568 GB / 3.451 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001959/8.337, allocations: 47.31 kB / 3.451 GB, free: 59.56 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.00666/8.344, allocations: 2.124 MB / 3.453 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/8.344, allocations: 12.88 kB / 3.453 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/8.349, allocations: 0.6426 MB / 3.454 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/8.354, allocations: 1.584 MB / 3.455 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/8.355, allocations: 39.34 kB / 3.455 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/8.355, allocations: 78.22 kB / 3.455 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00266/8.358, allocations: 1.081 MB / 3.456 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/8.36, allocations: 1.293 MB / 3.458 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/8.36, allocations: 6.703 kB / 3.458 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/8.36, allocations: 5.656 kB / 3.458 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/8.36, allocations: 47.67 kB / 3.458 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/8.371, allocations: 5.87 MB / 3.463 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/8.372, allocations: 0.5307 MB / 3.464 GB, free: 55.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/8.373, allocations: 437.8 kB / 3.464 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/8.373, allocations: 278 kB / 3.465 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009/8.374, allocations: 0.6241 MB / 3.465 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/8.374, allocations: 0 / 3.465 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92): time 0.009693/8.384, allocations: 3.428 MB / 3.469 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/8.384, allocations: 487.6 kB / 3.469 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/8.385, allocations: 0.9436 MB / 3.47 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/8.386, allocations: 29.05 kB / 3.47 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/8.386, allocations: 0.5349 MB / 3.471 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/8.386, allocations: 307.9 kB / 3.471 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/8.386, allocations: 0 / 3.471 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001096/8.387, allocations: 342.5 kB / 3.471 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/8.387, allocations: 385.8 kB / 3.472 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/8.388, allocations: 0.6622 MB / 3.472 GB, free: 52.43 MB / 0.5261 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/8.392, allocations: 1.346 MB / 3.473 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/8.392, allocations: 5.188 kB / 3.474 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004223/8.396, allocations: 1.571 MB / 3.475 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004246/8.397, allocations: 1.611 MB / 3.477 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/8.397, allocations: 6.578 kB / 3.477 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/8.398, allocations: 378.2 kB / 3.477 GB, free: 50.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/8.399, allocations: 170.1 kB / 3.477 GB, free: 50.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/8.405, allocations: 6.193 MB / 3.483 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/8.407, allocations: 114 kB / 3.483 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/8.407, allocations: 41.97 kB / 3.483 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/8.407, allocations: 3.062 kB / 3.483 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003226/8.411, allocations: 1.38 MB / 3.485 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/8.411, allocations: 4.281 kB / 3.485 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009276/8.412, allocations: 366.1 kB / 3.485 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/8.412, allocations: 162.8 kB / 3.485 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/8.42, allocations: 7.012 MB / 3.492 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/8.422, allocations: 84.19 kB / 3.492 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/8.422, allocations: 45.22 kB / 3.492 GB, free: 41.08 MB / 0.5261 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $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 (96): * Single equations (assignments): 91 * 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 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005984/8.423, allocations: 173.4 kB / 3.492 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/8.423, allocations: 160.5 kB / 3.492 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/8.427, allocations: 1.261 MB / 3.494 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/8.427, allocations: 8.875 kB / 3.494 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/8.427, allocations: 0 / 3.494 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002641/8.43, allocations: 1.156 MB / 3.495 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/8.436, allocations: 2.956 MB / 3.498 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/8.436, allocations: 3.688 kB / 3.498 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/8.437, allocations: 167.8 kB / 3.498 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/8.437, allocations: 156 kB / 3.498 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/8.437, allocations: 26.81 kB / 3.498 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/8.441, allocations: 3.202 MB / 3.501 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/8.441, allocations: 3.438 kB / 3.501 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004613/8.446, allocations: 2.077 MB / 3.503 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/8.447, allocations: 357.6 kB / 3.504 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/8.448, allocations: 12.44 kB / 3.504 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/8.449, allocations: 103.9 kB / 3.504 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/8.449, allocations: 51 kB / 3.504 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/8.449, allocations: 38.88 kB / 3.504 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001572/8.451, allocations: 0.7162 MB / 3.504 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005167/8.456, allocations: 0.9201 MB / 3.505 GB, free: 36.64 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.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.004378/8.46, allocations: 2.563 MB / 3.508 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003964/8.464, allocations: 2.369 MB / 3.51 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/8.464, allocations: 3.062 kB / 3.51 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/8.465, allocations: 0.7203 MB / 3.511 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/8.469, allocations: 0.6657 MB / 3.512 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/8.476, allocations: 2.552 MB / 3.514 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/8.477, allocations: 1.523 MB / 3.516 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.512e-06/8.477, allocations: 0 / 3.516 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.08157/8.558, allocations: 50.04 MB / 3.564 GB, free: 31.21 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)