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.00115/0.00115, allocations: 187.4 kB / 18.09 MB, free: 3.621 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.39/1.39, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0009568/0.0009569, allocations: 106.4 kB / 293.3 MB, free: 10.77 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.3601/0.3601, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.000399, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 61.87 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9949/1.371, allocations: 489.4 MB / 0.9886 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.371, allocations: 92.75 kB / 0.9887 GB, free: 112 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2001/1.571, allocations: 99.68 MB / 1.086 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/1.571, allocations: 4 kB / 1.086 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.754e-05/1.571, allocations: 12 kB / 1.086 GB, free: 11.47 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.001958/1.573, allocations: 0.8603 MB / 1.087 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.573, allocations: 12.03 kB / 1.087 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/1.574, allocations: 76.27 kB / 1.087 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/1.575, allocations: 423.5 kB / 1.087 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/1.575, allocations: 63.25 kB / 1.087 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/1.575, allocations: 36.75 kB / 1.088 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/1.576, allocations: 0.53 MB / 1.088 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/1.576, allocations: 4 kB / 1.088 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.576, allocations: 20 kB / 1.088 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.576, allocations: 12.66 kB / 1.088 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/1.577, allocations: 430.1 kB / 1.088 GB, free: 8.879 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.002695/1.579, allocations: 2.444 MB / 1.091 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/1.58, allocations: 359.2 kB / 1.091 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/1.58, allocations: 169.3 kB / 1.091 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/1.58, allocations: 8.281 kB / 1.091 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/1.581, allocations: 281 kB / 1.092 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.665e-06/1.581, allocations: 0 / 1.092 GB, free: 5.434 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.01042/1.591, allocations: 3.627 MB / 1.095 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.591, allocations: 162.2 kB / 1.095 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/1.592, allocations: 381.6 kB / 1.096 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/1.592, allocations: 33.7 kB / 1.096 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.592, allocations: 263.9 kB / 1.096 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/1.592, allocations: 161.7 kB / 1.096 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/1.592, allocations: 12 kB / 1.096 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/1.592, allocations: 358.7 kB / 1.096 GB, free: 264 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/1.593, allocations: 241.1 kB / 1.097 GB, free: 24 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2791/1.872, allocations: 424 kB / 1.097 GB, free: 132 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/1.873, allocations: 0.6786 MB / 1.098 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.873, allocations: 1.562 kB / 1.098 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001623/1.875, allocations: 0.8017 MB / 1.099 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.875, allocations: 37.02 kB / 1.099 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.875, allocations: 5.25 kB / 1.099 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/1.875, allocations: 113.6 kB / 1.099 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/1.876, allocations: 151.5 kB / 1.099 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004041/1.876, allocations: 0.6703 MB / 1.1 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/1.877, allocations: 72.61 kB / 1.1 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/1.877, allocations: 42.72 kB / 1.1 GB, free: 131.1 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.0002832/1.877, allocations: 198.7 kB / 1.1 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/1.877, allocations: 55.03 kB / 1.1 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.879, allocations: 0.7788 MB / 1.101 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.879, allocations: 6.344 kB / 1.101 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.879, allocations: 3.891 kB / 1.101 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.879, allocations: 3.938 kB / 1.101 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.881, allocations: 1.323 MB / 1.102 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.881, allocations: 0 / 1.102 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/1.882, allocations: 121.9 kB / 1.102 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/1.882, allocations: 105.5 kB / 1.102 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.882, allocations: 18.78 kB / 1.102 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/1.883, allocations: 1.689 MB / 1.104 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.883, allocations: 4.844 kB / 1.104 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/1.885, allocations: 1.033 MB / 1.105 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/1.886, allocations: 174.9 kB / 1.105 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/1.886, allocations: 12.16 kB / 1.105 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/1.886, allocations: 67 kB / 1.105 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.886, allocations: 60.97 kB / 1.105 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/1.886, allocations: 39.17 kB / 1.105 GB, free: 129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002298/1.887, allocations: 261.7 kB / 1.105 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/1.887, allocations: 0 / 1.105 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009382/1.888, allocations: 300.5 kB / 1.106 GB, free: 128.9 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.001294/1.889, allocations: 0.7915 MB / 1.106 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.89, allocations: 0.6445 MB / 1.107 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.89, allocations: 3.688 kB / 1.107 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/1.891, allocations: 433.1 kB / 1.108 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/1.892, allocations: 190.8 kB / 1.108 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.893, allocations: 1.389 MB / 1.109 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/1.894, allocations: 0.8547 MB / 1.11 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005998/1.894, allocations: 148.8 kB / 1.11 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.895, allocations: 73.41 kB / 1.11 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/1.895, allocations: 0 / 1.11 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02673/1.921, allocations: 20.18 MB / 1.13 GB, free: 126.5 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)