Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.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.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside") translateModel(Annex60.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside") [: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.3013/0.3013, allocations: 54.39 MB / 61.67 MB, free: 11.04 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.001533/0.001533, allocations: 179.7 kB / 75.37 MB, free: 1.465 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.899/1.899, allocations: 194.2 MB / 283.2 MB, free: 3.465 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.00209/0.00209, allocations: 119.8 kB / 341.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.528e-06, allocations: 0 / 404.9 MB, free: 27.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 57.64 MB / 462.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.05, allocations: 2.156 GB / 2.608 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/5.051, allocations: 91.94 kB / 2.608 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.45/6.501, allocations: 380.2 MB / 2.979 GB, free: 59.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001547/6.501, allocations: 35.94 kB / 2.979 GB, free: 59.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.005331/6.506, allocations: 1.685 MB / 2.981 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/6.506, allocations: 15.97 kB / 2.981 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/6.51, allocations: 489.1 kB / 2.981 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/6.513, allocations: 0.7818 MB / 2.982 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/6.513, allocations: 36 kB / 2.982 GB, free: 56.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/6.514, allocations: 68 kB / 2.982 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003121/6.517, allocations: 1.379 MB / 2.983 GB, free: 54.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/6.521, allocations: 1.117 MB / 2.984 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/6.521, allocations: 4 kB / 2.984 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/6.521, allocations: 0 / 2.984 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/6.521, allocations: 28 kB / 2.984 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/6.53, allocations: 3.752 MB / 2.988 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/6.531, allocations: 0.967 MB / 2.989 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/6.532, allocations: 423.1 kB / 2.99 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/6.533, allocations: 0.7582 MB / 2.99 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000962/6.534, allocations: 0.6421 MB / 2.991 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 4.268e-06/6.534, allocations: 0 / 2.991 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.003635/6.538, allocations: 1.22 MB / 2.992 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/6.538, allocations: 358.9 kB / 2.992 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/6.539, allocations: 0.5623 MB / 2.993 GB, free: 44.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/6.539, allocations: 29.7 kB / 2.993 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/6.539, allocations: 411.8 kB / 2.993 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/6.54, allocations: 315.3 kB / 2.994 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/6.54, allocations: 4 kB / 2.994 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001365/6.54, allocations: 390.7 kB / 2.994 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/6.54, allocations: 373.9 kB / 2.994 GB, free: 43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/6.541, allocations: 0.5223 MB / 2.995 GB, free: 42.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/6.543, allocations: 0.6627 MB / 2.996 GB, free: 41.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/6.543, allocations: 1.859 kB / 2.996 GB, free: 41.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003231/6.546, allocations: 1.355 MB / 2.997 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/6.546, allocations: 4 kB / 2.997 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/6.546, allocations: 4 kB / 2.997 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/6.547, allocations: 88.83 kB / 2.997 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/6.548, allocations: 211.7 kB / 2.997 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/6.55, allocations: 1.473 MB / 2.999 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/6.551, allocations: 103.9 kB / 2.999 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/6.551, allocations: 47.97 kB / 2.999 GB, free: 38.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,bou.x_pTphi.i_w,bou.x_pTphi.i_nw,bou.x_pTphi.found,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002953/6.551, allocations: 154.5 kB / 2.999 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/6.551, allocations: 102.9 kB / 2.999 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/6.555, allocations: 1.575 MB / 3.001 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/6.555, allocations: 12 kB / 3.001 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/6.555, allocations: 4 kB / 3.001 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/6.555, allocations: 7.891 kB / 3.001 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/6.559, allocations: 2.501 MB / 3.003 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/6.559, allocations: 8.188 kB / 3.003 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/6.56, allocations: 187.8 kB / 3.003 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/6.561, allocations: 84.77 kB / 3.003 GB, free: 33.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/6.561, allocations: 23.92 kB / 3.003 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/6.563, allocations: 1.488 MB / 3.005 GB, free: 32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/6.563, allocations: 3.938 kB / 3.005 GB, free: 32 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003774/6.567, allocations: 1.981 MB / 3.007 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/6.567, allocations: 359.5 kB / 3.007 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/6.568, allocations: 8.062 kB / 3.007 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/6.569, allocations: 83.83 kB / 3.007 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/6.569, allocations: 60.69 kB / 3.007 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/6.569, allocations: 47.97 kB / 3.007 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007857/6.57, allocations: 459.1 kB / 3.008 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002589/6.573, allocations: 0.6105 MB / 3.008 GB, free: 28.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00427/6.577, allocations: 2.116 MB / 3.01 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002082/6.579, allocations: 1.185 MB / 3.011 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/6.579, allocations: 4.438 kB / 3.011 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/6.58, allocations: 0.6348 MB / 3.012 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/6.582, allocations: 291.6 kB / 3.012 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/6.587, allocations: 1.988 MB / 3.014 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/6.588, allocations: 1.272 MB / 3.016 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/6.588, allocations: 0 / 3.016 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.3503/6.938, allocations: 29.99 MB / 3.045 GB, free: 123.1 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.sim & ./Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.pipe 2>&1)