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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.3 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009086, allocations: 96.34 kB / 292.2 MB, free: 10.68 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.4105/0.4105, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4314, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.549, allocations: 489.3 MB / 0.9874 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.549, allocations: 87.95 kB / 0.9875 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1962/1.745, allocations: 100.2 MB / 1.085 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.452e-06/1.745, allocations: 0 / 1.085 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.685e-05/1.746, allocations: 16 kB / 1.085 GB, free: 11.33 MB / 0.5261 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.002271/1.748, allocations: 0.864 MB / 1.086 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.748, allocations: 8.562 kB / 1.086 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005321/1.748, allocations: 71.33 kB / 1.086 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/1.749, allocations: 414.4 kB / 1.087 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/1.749, allocations: 66.69 kB / 1.087 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/1.75, allocations: 36 kB / 1.087 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.751, allocations: 0.5338 MB / 1.087 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.751, allocations: 3.984 kB / 1.087 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/1.751, allocations: 24 kB / 1.087 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/1.751, allocations: 12.66 kB / 1.087 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/1.752, allocations: 426.2 kB / 1.088 GB, free: 8.746 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/1.755, allocations: 2.433 MB / 1.09 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/1.755, allocations: 359.5 kB / 1.09 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/1.755, allocations: 4.281 kB / 1.09 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/1.756, allocations: 289.6 kB / 1.091 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.946e-06/1.756, allocations: 0 / 1.091 GB, free: 5.477 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01164/1.768, allocations: 3.626 MB / 1.094 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/1.768, allocations: 166.2 kB / 1.094 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/1.768, allocations: 332.7 kB / 1.095 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/1.768, allocations: 37.7 kB / 1.095 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.768, allocations: 255.9 kB / 1.095 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.768, allocations: 161.7 kB / 1.095 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/1.768, allocations: 12 kB / 1.095 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/1.769, allocations: 362.8 kB / 1.095 GB, free: 360 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/1.769, allocations: 241.1 kB / 1.096 GB, free: 120 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3576/2.127, allocations: 421.8 kB / 1.096 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/2.128, allocations: 316.7 kB / 1.096 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/2.128, allocations: 1.781 kB / 1.096 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002895/2.131, allocations: 0.8089 MB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/2.131, allocations: 33.52 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/2.131, allocations: 5.125 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/2.132, allocations: 118.9 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/2.132, allocations: 147.7 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005142/2.133, allocations: 0.6702 MB / 1.098 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/2.134, allocations: 70.67 kB / 1.098 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/2.134, allocations: 45.59 kB / 1.098 GB, free: 130.5 MB / 0.5261 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked 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.0003314/2.134, allocations: 196.9 kB / 1.098 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/2.134, allocations: 51.03 kB / 1.098 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/2.136, allocations: 0.7796 MB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/2.136, allocations: 5.156 kB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/2.136, allocations: 4.594 kB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/2.136, allocations: 3.281 kB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/2.139, allocations: 1.318 MB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.139, allocations: 3.156 kB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/2.139, allocations: 120.2 kB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/2.14, allocations: 111.2 kB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/2.14, allocations: 16.36 kB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/2.141, allocations: 1.718 MB / 1.102 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/2.141, allocations: 1.25 kB / 1.102 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/2.144, allocations: 1.094 MB / 1.104 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/2.144, allocations: 157 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/2.144, allocations: 13.84 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/2.145, allocations: 61.73 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/2.145, allocations: 68.84 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/2.145, allocations: 38.45 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004232/2.145, allocations: 266 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/2.145, allocations: 1.312 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001529/2.147, allocations: 295.5 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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.001813/2.149, allocations: 0.7892 MB / 1.105 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001777/2.151, allocations: 0.6481 MB / 1.106 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.151, allocations: 0 / 1.106 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/2.151, allocations: 436.2 kB / 1.106 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/2.152, allocations: 193.4 kB / 1.106 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/2.155, allocations: 1.368 MB / 1.108 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/2.155, allocations: 0.8649 MB / 1.109 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007677/2.156, allocations: 153.7 kB / 1.109 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/2.156, allocations: 74.98 kB / 1.109 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/2.156, allocations: 2.344 kB / 1.109 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03597/2.192, allocations: 19.42 MB / 1.128 GB, free: 125.9 MB / 0.5261 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)