Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.2803/0.2803, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.00122/0.00122, allocations: 186.1 kB / 75.37 MB, free: 1.457 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.654/1.654, allocations: 194.2 MB / 283.2 MB, free: 3.59 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.002115/0.002115, allocations: 112.3 kB / 341.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.056e-06/8.095e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 57.64 MB / 462.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.963/5.11, allocations: 2.143 GB / 2.595 GB, free: 44.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/5.11, allocations: 90.16 kB / 2.595 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7472/5.858, allocations: 218.2 MB / 2.808 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.717e-05/5.858, allocations: 8 kB / 2.808 GB, free: 28.79 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001792/5.86, allocations: 0.7054 MB / 2.809 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/5.86, allocations: 11.97 kB / 2.809 GB, free: 28.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/5.86, allocations: 59.52 kB / 2.809 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0058/5.866, allocations: 2.166 MB / 2.811 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/5.866, allocations: 12 kB / 2.811 GB, free: 25.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/5.866, allocations: 12 kB / 2.811 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004205/5.866, allocations: 209.1 kB / 2.811 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/5.867, allocations: 236.8 kB / 2.811 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/5.867, allocations: 3.938 kB / 2.811 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/5.867, allocations: 4 kB / 2.811 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/5.867, allocations: 4 kB / 2.811 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/5.869, allocations: 0.9862 MB / 2.812 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/5.869, allocations: 90.67 kB / 2.812 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/5.869, allocations: 56.88 kB / 2.812 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/5.869, allocations: 3.984 kB / 2.812 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/5.869, allocations: 38.56 kB / 2.812 GB, free: 24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.056e-06/5.869, allocations: 0 / 2.812 GB, free: 24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0006047/5.87, allocations: 169.3 kB / 2.813 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/5.87, allocations: 51.41 kB / 2.813 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/5.87, allocations: 243.5 kB / 2.813 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/5.87, allocations: 25.7 kB / 2.813 GB, free: 23.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/5.87, allocations: 191.6 kB / 2.813 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/5.87, allocations: 39.45 kB / 2.813 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/5.87, allocations: 0 / 2.813 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001026/5.87, allocations: 338.8 kB / 2.813 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/5.87, allocations: 47.98 kB / 2.813 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/5.871, allocations: 115.5 kB / 2.814 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/5.871, allocations: 60 kB / 2.814 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.871, allocations: 4 kB / 2.814 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002741/5.871, allocations: 197.2 kB / 2.814 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/5.871, allocations: 0.6142 MB / 2.814 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/5.871, allocations: 4 kB / 2.814 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/5.871, allocations: 0 / 2.814 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/5.871, allocations: 51.91 kB / 2.814 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/5.871, allocations: 4 kB / 2.814 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/5.872, allocations: 35.81 kB / 2.814 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/5.872, allocations: 4 kB / 2.814 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/5.872, allocations: 4 kB / 2.814 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001933/5.872, allocations: 131.8 kB / 2.815 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/5.872, allocations: 4 kB / 2.815 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/5.872, allocations: 7.891 kB / 2.815 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/5.872, allocations: 47.92 kB / 2.815 GB, free: 21.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/5.872, allocations: 4 kB / 2.815 GB, free: 21.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/5.872, allocations: 27.92 kB / 2.815 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/5.872, allocations: 4 kB / 2.815 GB, free: 21.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/5.873, allocations: 108.9 kB / 2.815 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/5.873, allocations: 31.62 kB / 2.815 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/5.873, allocations: 30.61 kB / 2.815 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/5.873, allocations: 0 / 2.815 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/5.873, allocations: 3.984 kB / 2.815 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/5.873, allocations: 7.984 kB / 2.815 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/5.873, allocations: 0.582 MB / 2.815 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/5.873, allocations: 4 kB / 2.815 GB, free: 20.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/5.874, allocations: 40.09 kB / 2.815 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/5.874, allocations: 4 kB / 2.815 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/5.874, allocations: 0 / 2.815 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/5.874, allocations: 4 kB / 2.815 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.874, allocations: 0 / 2.815 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002792/5.874, allocations: 362.4 kB / 2.816 GB, free: 20.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/5.874, allocations: 128.7 kB / 2.816 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/5.874, allocations: 0 / 2.816 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/5.874, allocations: 23.97 kB / 2.816 GB, free: 20 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/5.875, allocations: 15.98 kB / 2.816 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/5.875, allocations: 8 kB / 2.816 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001494/5.875, allocations: 195.1 kB / 2.816 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007941/5.876, allocations: 223.4 kB / 2.816 GB, free: 19.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/5.877, allocations: 1.019 MB / 2.817 GB, free: 18.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003613/5.877, allocations: 205.8 kB / 2.818 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/5.877, allocations: 3.938 kB / 2.818 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/5.877, allocations: 59.86 kB / 2.818 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/5.878, allocations: 119.7 kB / 2.818 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/5.879, allocations: 405.7 kB / 2.818 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/5.879, allocations: 0.8459 MB / 2.819 GB, free: 16.87 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/5.879, allocations: 0 / 2.819 GB, free: 16.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.0186/5.898, allocations: 11.07 MB / 2.83 GB, free: 5.816 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)