Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") [: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.2901/0.2901, allocations: 54.4 MB / 61.68 MB, free: 11.15 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.001248/0.001248, allocations: 192.5 kB / 75.38 MB, free: 1.477 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.616/1.616, allocations: 194.2 MB / 283.2 MB, free: 3.469 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.001719/0.001719, allocations: 103.5 kB / 341.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.414e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 57.64 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/4.996, allocations: 2.119 GB / 2.571 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/4.996, allocations: 80.7 kB / 2.571 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7837/5.78, allocations: 214.7 MB / 2.781 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.364e-05/5.78, allocations: 11.94 kB / 2.781 GB, free: 70.73 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001669/5.782, allocations: 0.6431 MB / 2.781 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/5.782, allocations: 15.97 kB / 2.781 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/5.782, allocations: 51.52 kB / 2.781 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/5.783, allocations: 341.9 kB / 2.782 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/5.783, allocations: 8 kB / 2.782 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/5.783, allocations: 20 kB / 2.782 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004481/5.784, allocations: 197.2 kB / 2.782 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/5.784, allocations: 244.7 kB / 2.782 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.784, allocations: 0 / 2.782 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/5.784, allocations: 0 / 2.782 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/5.784, allocations: 4 kB / 2.782 GB, free: 69.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/5.786, allocations: 0.9861 MB / 2.783 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/5.787, allocations: 90.61 kB / 2.783 GB, free: 67.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/5.787, allocations: 52.92 kB / 2.783 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/5.787, allocations: 0 / 2.783 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/5.787, allocations: 38.56 kB / 2.783 GB, free: 67.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/5.787, allocations: 0 / 2.783 GB, free: 67.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007404/5.787, allocations: 189.5 kB / 2.783 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/5.787, allocations: 51.41 kB / 2.783 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/5.788, allocations: 225.1 kB / 2.784 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/5.788, allocations: 25.7 kB / 2.784 GB, free: 67.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/5.788, allocations: 183.7 kB / 2.784 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/5.788, allocations: 35.48 kB / 2.784 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/5.788, allocations: 0 / 2.784 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/5.788, allocations: 338.7 kB / 2.784 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/5.788, allocations: 55.92 kB / 2.784 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/5.788, allocations: 111.7 kB / 2.784 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/5.788, allocations: 63.97 kB / 2.784 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.788, allocations: 0 / 2.784 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002811/5.789, allocations: 193.3 kB / 2.785 GB, free: 66.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/5.789, allocations: 0.6123 MB / 2.785 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/5.789, allocations: 0 / 2.785 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/5.789, allocations: 4 kB / 2.785 GB, free: 65.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/5.789, allocations: 59.91 kB / 2.785 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/5.789, allocations: 7.984 kB / 2.785 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/5.79, allocations: 43.81 kB / 2.785 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/5.79, allocations: 12 kB / 2.785 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/5.79, allocations: 7.938 kB / 2.785 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001991/5.79, allocations: 128.1 kB / 2.785 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/5.79, allocations: 4.125 kB / 2.786 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/5.79, allocations: 4 kB / 2.786 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/5.79, allocations: 39.92 kB / 2.786 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/5.79, allocations: 11.84 kB / 2.786 GB, free: 65.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/5.79, allocations: 27.97 kB / 2.786 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/5.79, allocations: 4 kB / 2.786 GB, free: 65.34 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 (19): * Single equations (assignments): 19 * 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.903e-05/5.79, allocations: 120.8 kB / 2.786 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/5.79, allocations: 23.72 kB / 2.786 GB, free: 65.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/5.791, allocations: 21.7 kB / 2.786 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/5.791, allocations: 4 kB / 2.786 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/5.791, allocations: 0 / 2.786 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/5.791, allocations: 0 / 2.786 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/5.791, allocations: 0.5818 MB / 2.786 GB, free: 64.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/5.791, allocations: 0 / 2.786 GB, free: 64.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/5.792, allocations: 52.09 kB / 2.786 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/5.792, allocations: 0 / 2.786 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/5.792, allocations: 4 kB / 2.786 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/5.792, allocations: 4 kB / 2.786 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.792, allocations: 0 / 2.786 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000285/5.792, allocations: 358.5 kB / 2.787 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/5.792, allocations: 128.7 kB / 2.787 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/5.792, allocations: 7.984 kB / 2.787 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/5.792, allocations: 35.97 kB / 2.787 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/5.793, allocations: 7.984 kB / 2.787 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/5.793, allocations: 19.98 kB / 2.787 GB, free: 63.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001365/5.793, allocations: 173.2 kB / 2.787 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008166/5.794, allocations: 223.4 kB / 2.787 GB, free: 63.44 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 (11): * Single equations (assignments): 11 * 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.001637/5.795, allocations: 1.025 MB / 2.788 GB, free: 62.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003707/5.796, allocations: 197.1 kB / 2.788 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/5.796, allocations: 3.938 kB / 2.788 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/5.796, allocations: 60.67 kB / 2.789 GB, free: 62.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/5.797, allocations: 120.4 kB / 2.789 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/5.797, allocations: 365.7 kB / 2.789 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/5.798, allocations: 0.8265 MB / 2.79 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/5.798, allocations: 0 / 2.79 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.0185/5.816, allocations: 10.67 MB / 2.8 GB, free: 50.13 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)