Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 174.8 kB / 8.518 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.688 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.89 kB / 281.2 MB, free: 5.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1624/0.1624, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.303e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 61.93 MB / 0.4941 GB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.997/1.113, allocations: 488.5 MB / 0.9711 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.114, allocations: 87.89 kB / 0.9712 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.1901/1.304, allocations: 98.92 MB / 1.068 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.44e-05/1.304, allocations: 12 kB / 1.068 GB, free: 30.37 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001898/1.306, allocations: 0.8206 MB / 1.069 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.306, allocations: 15.97 kB / 1.069 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/1.306, allocations: 75.27 kB / 1.069 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/1.307, allocations: 406.5 kB / 1.069 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/1.307, allocations: 50.48 kB / 1.069 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/1.307, allocations: 27.91 kB / 1.069 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005417/1.308, allocations: 305.4 kB / 1.069 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/1.308, allocations: 445.6 kB / 1.07 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.308, allocations: 4 kB / 1.07 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/1.308, allocations: 4 kB / 1.07 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/1.309, allocations: 12.66 kB / 1.07 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/1.311, allocations: 2.483 MB / 1.072 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/1.312, allocations: 169.8 kB / 1.072 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/1.312, allocations: 112.9 kB / 1.073 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.312, allocations: 4 kB / 1.073 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/1.312, allocations: 199.2 kB / 1.073 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/1.312, allocations: 0 / 1.073 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.006063/1.318, allocations: 1.905 MB / 1.075 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.318, allocations: 158.2 kB / 1.075 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/1.319, allocations: 316.7 kB / 1.075 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/1.319, allocations: 25.7 kB / 1.075 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.319, allocations: 223.8 kB / 1.075 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/1.319, allocations: 145.8 kB / 1.075 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/1.319, allocations: 0 / 1.075 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/1.319, allocations: 354.8 kB / 1.076 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/1.319, allocations: 145.3 kB / 1.076 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/1.319, allocations: 331.8 kB / 1.076 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/1.32, allocations: 216.6 kB / 1.076 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.32, allocations: 0 / 1.076 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008925/1.321, allocations: 0.5581 MB / 1.077 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.321, allocations: 6.344 kB / 1.077 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.321, allocations: 11.92 kB / 1.077 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/1.321, allocations: 104.8 kB / 1.077 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/1.322, allocations: 152 kB / 1.077 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00051/1.322, allocations: 0.6967 MB / 1.078 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/1.323, allocations: 71.86 kB / 1.078 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/1.323, allocations: 43.98 kB / 1.078 GB, free: 19.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/1.323, allocations: 120.9 kB / 1.078 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/1.323, allocations: 47.44 kB / 1.078 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/1.325, allocations: 0.5556 MB / 1.079 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.325, allocations: 8 kB / 1.079 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.325, allocations: 3.938 kB / 1.079 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.325, allocations: 3.984 kB / 1.079 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.326, allocations: 1.026 MB / 1.08 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.326, allocations: 0 / 1.08 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.327, allocations: 123.9 kB / 1.08 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/1.327, allocations: 108.8 kB / 1.08 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/1.327, allocations: 11.98 kB / 1.08 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/1.329, allocations: 1.592 MB / 1.082 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.329, allocations: 8 kB / 1.082 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001069/1.33, allocations: 0.7809 MB / 1.082 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/1.33, allocations: 156.5 kB / 1.083 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/1.33, allocations: 3.984 kB / 1.083 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/1.33, allocations: 67.86 kB / 1.083 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.331, allocations: 55.91 kB / 1.083 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/1.331, allocations: 39.92 kB / 1.083 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001966/1.331, allocations: 239.2 kB / 1.083 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00101/1.332, allocations: 267.8 kB / 1.083 GB, free: 13.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/1.333, allocations: 0.9123 MB / 1.084 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006977/1.334, allocations: 423.9 kB / 1.084 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.334, allocations: 1.312 kB / 1.084 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/1.334, allocations: 313.6 kB / 1.085 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008045/1.335, allocations: 156.9 kB / 1.085 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/1.337, allocations: 0.8083 MB / 1.086 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/1.338, allocations: 0.9683 MB / 1.087 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/1.338, allocations: 0 / 1.087 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.2292/1.567, allocations: 15.64 MB / 1.102 GB, free: 189.5 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)