Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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 3.2.2+maint.om/package.mo): time 0.001021/0.001021, allocations: 195 kB / 7.465 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.146/1.146, allocations: 194.2 MB / 202.1 MB, free: 14.31 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 116.9 kB / 247.1 MB, free: 0.5039 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1719/0.1719, allocations: 39.93 MB / 331.9 MB, free: 11.57 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.196e-06, allocations: 0 / 392.8 MB, free: 48.37 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 54.86 MB / 447.6 MB, free: 9.434 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.443/1.563, allocations: 0.5704 GB / 1.008 GB, free: 179 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.563, allocations: 83.77 kB / 1.008 GB, free: 179 MB / 482.8 MB Notification: Performance of FrontEnd: time 0.2211/1.784, allocations: 100.1 MB / 1.105 GB, free: 93.84 MB / 482.8 MB Notification: Performance of Transformations before backend: time 6.996e-05/1.785, allocations: 16 kB / 1.105 GB, free: 93.82 MB / 482.8 MB 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.00275/1.787, allocations: 0.8203 MB / 1.106 GB, free: 92.95 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.787, allocations: 16.47 kB / 1.106 GB, free: 92.94 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/1.788, allocations: 67.33 kB / 1.106 GB, free: 92.87 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.789, allocations: 419.3 kB / 1.107 GB, free: 92.42 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/1.789, allocations: 50.48 kB / 1.107 GB, free: 92.37 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.79, allocations: 27.91 kB / 1.107 GB, free: 92.34 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006404/1.79, allocations: 305.4 kB / 1.107 GB, free: 92.04 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/1.791, allocations: 437.6 kB / 1.108 GB, free: 91.57 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.791, allocations: 8 kB / 1.108 GB, free: 91.56 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/1.791, allocations: 0 / 1.108 GB, free: 91.56 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/1.791, allocations: 20.64 kB / 1.108 GB, free: 91.54 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/1.794, allocations: 2.464 MB / 1.11 GB, free: 88.93 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/1.795, allocations: 169.8 kB / 1.11 GB, free: 88.76 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.795, allocations: 112.9 kB / 1.11 GB, free: 88.64 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/1.795, allocations: 11.98 kB / 1.11 GB, free: 88.63 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/1.795, allocations: 189.8 kB / 1.11 GB, free: 88.43 MB / 482.8 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/1.795, allocations: 0 / 1.11 GB, free: 88.43 MB / 482.8 MB Notification: Performance of matching and sorting (n=44): time 0.006244/1.801, allocations: 1.94 MB / 1.112 GB, free: 86.36 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.801, allocations: 136.5 kB / 1.112 GB, free: 86.2 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/1.802, allocations: 316.7 kB / 1.113 GB, free: 85.89 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/1.802, allocations: 29.7 kB / 1.113 GB, free: 85.86 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.802, allocations: 223.8 kB / 1.113 GB, free: 85.63 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.802, allocations: 145.9 kB / 1.113 GB, free: 85.49 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/1.802, allocations: 0 / 1.113 GB, free: 85.49 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/1.802, allocations: 362.7 kB / 1.113 GB, free: 85.12 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/1.802, allocations: 141.3 kB / 1.114 GB, free: 84.99 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/1.803, allocations: 337.5 kB / 1.114 GB, free: 84.58 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/1.803, allocations: 220.6 kB / 1.114 GB, free: 84.36 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.803, allocations: 0 / 1.114 GB, free: 84.36 MB / 482.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00097/1.804, allocations: 0.5739 MB / 1.115 GB, free: 83.78 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.804, allocations: 12.03 kB / 1.115 GB, free: 83.77 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.804, allocations: 4 kB / 1.115 GB, free: 83.76 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/1.804, allocations: 100.8 kB / 1.115 GB, free: 83.66 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/1.805, allocations: 159.8 kB / 1.115 GB, free: 83.5 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/1.806, allocations: 0.6889 MB / 1.116 GB, free: 82.79 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/1.806, allocations: 75.84 kB / 1.116 GB, free: 82.71 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/1.806, allocations: 40 kB / 1.116 GB, free: 82.68 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (67): * Single equations (assignments): 65 * 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.0001446/1.806, allocations: 136.7 kB / 1.116 GB, free: 82.54 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/1.807, allocations: 51.44 kB / 1.116 GB, free: 82.48 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.808, allocations: 0.5556 MB / 1.116 GB, free: 81.92 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.808, allocations: 8 kB / 1.116 GB, free: 81.91 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.808, allocations: 0 / 1.116 GB, free: 81.91 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.808, allocations: 0 / 1.116 GB, free: 81.91 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.809, allocations: 1.022 MB / 1.117 GB, free: 80.82 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.809, allocations: 4 kB / 1.117 GB, free: 80.82 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/1.81, allocations: 123.9 kB / 1.118 GB, free: 80.7 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/1.81, allocations: 104.8 kB / 1.118 GB, free: 80.59 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/1.811, allocations: 19.92 kB / 1.118 GB, free: 80.57 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/1.812, allocations: 1.592 MB / 1.119 GB, free: 78.86 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.812, allocations: 0 / 1.119 GB, free: 78.86 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001138/1.813, allocations: 0.7843 MB / 1.12 GB, free: 78.02 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/1.813, allocations: 156.5 kB / 1.12 GB, free: 77.85 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.813, allocations: 7.906 kB / 1.12 GB, free: 77.84 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/1.814, allocations: 63.94 kB / 1.12 GB, free: 77.78 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.814, allocations: 51.92 kB / 1.12 GB, free: 77.73 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/1.814, allocations: 35.98 kB / 1.12 GB, free: 77.7 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0002221/1.814, allocations: 239.2 kB / 1.121 GB, free: 77.46 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.001192/1.816, allocations: 271.9 kB / 1.121 GB, free: 77.2 MB / 482.8 MB 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.00205/1.818, allocations: 0.9331 MB / 1.122 GB, free: 76.25 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.0007713/1.818, allocations: 428.6 kB / 1.122 GB, free: 75.83 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.818, allocations: 0 / 1.122 GB, free: 75.83 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004447/1.819, allocations: 321 kB / 1.122 GB, free: 75.51 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/1.82, allocations: 160.9 kB / 1.123 GB, free: 75.36 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/1.826, allocations: 2.257 MB / 1.125 GB, free: 73.05 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/1.827, allocations: 0.9645 MB / 1.126 GB, free: 72.06 MB / 482.8 MB Notification: Performance of SimCode: time 3.9e-07/1.827, allocations: 0 / 1.126 GB, free: 72.06 MB / 482.8 MB Notification: Performance of Templates: time 0.0221/1.849, allocations: 15.67 MB / 1.141 GB, free: 56.41 MB / 482.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)