Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.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.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic") translateModel(Annex60.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic") [: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.2744/0.2744, allocations: 54.39 MB / 61.68 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.001184/0.001184, allocations: 186 kB / 75.37 MB, free: 1.48 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.409/1.409, allocations: 194.2 MB / 283.2 MB, free: 3.555 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.001685/0.001685, allocations: 125.1 kB / 341.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.546e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 57.65 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9331/1.077, allocations: 396.5 MB / 0.839 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.077, allocations: 92.02 kB / 0.8391 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 23.4/24.47, allocations: 5.621 GB / 6.46 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.005135/24.48, allocations: 0.5178 MB / 6.46 GB, free: 54.02 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1989 * Number of variables: 1989 Notification: Performance of Generate backend data structure: time 0.0659/24.54, allocations: 14.72 MB / 6.475 GB, free: 48.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/24.54, allocations: 11.53 kB / 6.475 GB, free: 48.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/24.56, allocations: 2.484 MB / 6.477 GB, free: 47.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09051/24.65, allocations: 27.27 MB / 6.504 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008099/24.65, allocations: 258.5 kB / 6.504 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007549/24.66, allocations: 0.5687 MB / 6.505 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04265/24.7, allocations: 20.04 MB / 6.524 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.052/24.76, allocations: 15.62 MB / 6.539 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004293/24.76, allocations: 12.59 kB / 6.539 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004452/24.76, allocations: 16.84 kB / 6.539 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/24.76, allocations: 216.7 kB / 6.54 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1847/24.95, allocations: 81.22 MB / 6.619 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03/24.98, allocations: 14.65 MB / 6.633 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02296/25, allocations: 10.41 MB / 6.643 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7651/25.76, allocations: 42.03 MB / 6.684 GB, free: 97.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02071/25.78, allocations: 9.652 MB / 6.694 GB, free: 97.14 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=624): time 1.763e-05/25.78, allocations: 7.312 kB / 6.694 GB, free: 97.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=636): time 0.7951/26.58, allocations: 162.7 MB / 6.853 GB, free: 87.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001257/26.58, allocations: 2.559 MB / 6.855 GB, free: 84.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03966/26.62, allocations: 13.6 MB / 6.869 GB, free: 83.55 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.005935/26.63, allocations: 47.95 kB / 6.869 GB, free: 83.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01055/26.64, allocations: 3.827 MB / 6.872 GB, free: 82.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.009866/26.65, allocations: 2.149 MB / 6.874 GB, free: 81.09 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005928/26.65, allocations: 0 / 6.874 GB, free: 81.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001299/26.65, allocations: 0.6819 MB / 6.875 GB, free: 80.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02032/26.68, allocations: 9.542 MB / 6.884 GB, free: 77.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02624/26.7, allocations: 12.88 MB / 6.897 GB, free: 68.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02478/26.73, allocations: 10.72 MB / 6.908 GB, free: 63.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/26.73, allocations: 12 kB / 6.908 GB, free: 63.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 1.473/28.2, allocations: 143.8 MB / 7.048 GB, free: 82.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.006869/28.21, allocations: 30.56 MB / 7.078 GB, free: 50.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006284/28.21, allocations: 118.5 kB / 7.078 GB, free: 50.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6883/28.9, allocations: 165 MB / 7.239 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7452/29.64, allocations: 2.208 MB / 7.241 GB, free: 90.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1506/29.79, allocations: 72.49 MB / 7.312 GB, free: 84.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02676/29.82, allocations: 1.41 MB / 7.313 GB, free: 84.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005961/29.82, allocations: 0.8433 MB / 7.314 GB, free: 84.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/29.82, allocations: 3.219 kB / 7.314 GB, free: 84.47 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6412/30.47, allocations: 132.6 MB / 7.444 GB, free: 76.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006742/30.47, allocations: 107.6 kB / 7.444 GB, free: 76.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396/31.86, allocations: 162.3 MB / 7.602 GB, free: 82.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/31.87, allocations: 1.997 MB / 7.604 GB, free: 82.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2214/32.09, allocations: 72.63 MB / 7.675 GB, free: 78.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0341/32.13, allocations: 0.8109 MB / 7.676 GB, free: 78.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006207/32.14, allocations: 0.7803 MB / 7.677 GB, free: 78.71 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 195 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 816 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.008245/32.14, allocations: 331.7 kB / 7.677 GB, free: 78.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007151/32.15, allocations: 1.436 MB / 7.679 GB, free: 78.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2582/32.41, allocations: 65.94 MB / 7.743 GB, free: 56.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000313/32.41, allocations: 79.12 kB / 7.743 GB, free: 56.68 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001345/32.41, allocations: 28 kB / 7.743 GB, free: 56.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9723/33.38, allocations: 59.9 MB / 7.802 GB, free: 81.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2912/33.67, allocations: 81.32 MB / 7.881 GB, free: 73.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.933e-05/33.67, allocations: 4.094 kB / 7.881 GB, free: 73.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0103/33.68, allocations: 1.245 MB / 7.882 GB, free: 73.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2225/33.91, allocations: 70.76 MB / 7.951 GB, free: 59.51 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003889/33.91, allocations: 179 kB / 7.951 GB, free: 59.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.152/34.06, allocations: 62.64 MB / 8.013 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/34.06, allocations: 11.38 kB / 8.013 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.989/35.05, allocations: 74 MB / 8.085 GB, free: 83.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01762/35.07, allocations: 3.262 MB / 8.088 GB, free: 83.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009624/35.08, allocations: 91.59 kB / 8.088 GB, free: 83.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02321/35.1, allocations: 1.34 MB / 8.089 GB, free: 83.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003607/35.11, allocations: 409.1 kB / 8.09 GB, free: 83.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00207/35.11, allocations: 292.4 kB / 8.09 GB, free: 83.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.03045/35.14, allocations: 10.22 MB / 8.1 GB, free: 83.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.06648/35.2, allocations: 7.995 MB / 8.108 GB, free: 83.14 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (515): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 11 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/35.22, allocations: 5.357 MB / 8.113 GB, free: 81.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.1104/35.33, allocations: 38.92 MB / 8.151 GB, free: 78.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.434e-05/35.33, allocations: 12.44 kB / 8.151 GB, free: 78.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.03999/35.37, allocations: 11.56 MB / 8.162 GB, free: 77.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04753/35.42, allocations: 6.946 MB / 8.169 GB, free: 77.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1414/35.56, allocations: 34.27 MB / 8.203 GB, free: 71.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03595/35.59, allocations: 9.878 MB / 8.212 GB, free: 69.84 MB / 0.7605 GB Notification: Performance of SimCode: time 3.467e-06/35.59, allocations: 0 / 8.212 GB, free: 69.84 MB / 0.7605 GB Notification: Performance of Templates: time 4.051/39.65, allocations: 0.509 GB / 8.721 GB, free: 62.3 MB / 0.7762 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)