Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") translateModel(Annex60.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") [: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.2836/0.2836, allocations: 54.4 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.00133/0.00133, allocations: 189.9 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.695/1.695, allocations: 194.2 MB / 283.2 MB, free: 3.508 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.002025/0.002025, allocations: 121.6 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.094e-05, allocations: 4 kB / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 57.65 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.086, allocations: 2.122 GB / 2.573 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.086, allocations: 87.94 kB / 2.573 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.219/6.305, allocations: 333.9 MB / 2.899 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.18e-05/6.305, allocations: 10.7 kB / 2.899 GB, free: 105.2 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002026/6.307, allocations: 0.746 MB / 2.9 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/6.307, allocations: 14.97 kB / 2.9 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/6.308, allocations: 60.27 kB / 2.9 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/6.308, allocations: 354.1 kB / 2.901 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/6.308, allocations: 10.91 kB / 2.901 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/6.308, allocations: 26.16 kB / 2.901 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/6.309, allocations: 225.4 kB / 2.901 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/6.309, allocations: 372.2 kB / 2.901 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/6.309, allocations: 7.094 kB / 2.901 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/6.31, allocations: 0 / 2.901 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/6.31, allocations: 7.875 kB / 2.901 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/6.312, allocations: 1.901 MB / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/6.312, allocations: 59.3 kB / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/6.312, allocations: 40.22 kB / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/6.312, allocations: 0 / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/6.312, allocations: 38.25 kB / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/6.312, allocations: 0 / 2.903 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005482/6.313, allocations: 135.4 kB / 2.903 GB, free: 103 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/6.313, allocations: 51.41 kB / 2.903 GB, free: 103 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/6.313, allocations: 297.5 kB / 2.904 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/6.313, allocations: 25.7 kB / 2.904 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/6.313, allocations: 237.3 kB / 2.904 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/6.314, allocations: 25.52 kB / 2.904 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/6.314, allocations: 0 / 2.904 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/6.314, allocations: 339.5 kB / 2.904 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/6.314, allocations: 61.92 kB / 2.904 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/6.314, allocations: 204.3 kB / 2.905 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/6.314, allocations: 85.98 kB / 2.905 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/6.314, allocations: 3.875 kB / 2.905 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003997/6.314, allocations: 266.9 kB / 2.905 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004762/6.315, allocations: 1.655 MB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/6.315, allocations: 3.156 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/6.315, allocations: 8.5 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/6.315, allocations: 78.11 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/6.315, allocations: 8.656 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/6.316, allocations: 60.83 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/6.316, allocations: 11.53 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/6.316, allocations: 3.906 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003013/6.316, allocations: 197.8 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/6.316, allocations: 3.312 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/6.316, allocations: 6.906 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/6.317, allocations: 69.09 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/6.317, allocations: 11.19 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/6.317, allocations: 39.08 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/6.317, allocations: 15.84 kB / 2.907 GB, free: 100.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001164/6.317, allocations: 115.3 kB / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/6.317, allocations: 26 kB / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/6.317, allocations: 31.67 kB / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/6.317, allocations: 3.797 kB / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/6.317, allocations: 0 / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/6.317, allocations: 7.781 kB / 2.907 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/6.318, allocations: 482.6 kB / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/6.318, allocations: 6.953 kB / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/6.318, allocations: 38.31 kB / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/6.318, allocations: 0 / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/6.318, allocations: 3.656 kB / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/6.318, allocations: 0 / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/6.318, allocations: 0 / 2.908 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002161/6.318, allocations: 244 kB / 2.908 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/6.318, allocations: 125.5 kB / 2.908 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/6.319, allocations: 3.438 kB / 2.908 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/6.319, allocations: 31.28 kB / 2.908 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/6.319, allocations: 6.422 kB / 2.908 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/6.319, allocations: 15.25 kB / 2.908 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002175/6.319, allocations: 213.7 kB / 2.908 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001119/6.32, allocations: 299.3 kB / 2.909 GB, free: 99.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002423/6.323, allocations: 1.41 MB / 2.91 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004446/6.323, allocations: 248.5 kB / 2.91 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/6.323, allocations: 2.938 kB / 2.91 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/6.323, allocations: 38.83 kB / 2.91 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/6.324, allocations: 106.8 kB / 2.91 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/6.325, allocations: 384.8 kB / 2.911 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/6.325, allocations: 0.8423 MB / 2.912 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/6.325, allocations: 0 / 2.912 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.02414/6.35, allocations: 12.98 MB / 2.924 GB, free: 97.59 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe 2>&1)