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.001414/0.001414, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.29/1.29, allocations: 221.3 MB / 236 MB, free: 2.992 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.0008453/0.0008453, allocations: 83.83 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.678e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.271, allocations: 489.2 MB / 0.9794 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.271, allocations: 87.14 kB / 0.9795 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1897/1.461, allocations: 99.91 MB / 1.077 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.72e-07/1.461, allocations: 4 kB / 1.077 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.379e-05/1.461, allocations: 16 kB / 1.077 GB, free: 47.51 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.001487/1.462, allocations: 0.8053 MB / 1.078 GB, free: 46.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.462, allocations: 12.03 kB / 1.078 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/1.463, allocations: 63.42 kB / 1.078 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/1.463, allocations: 415.3 kB / 1.078 GB, free: 46.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/1.464, allocations: 66.41 kB / 1.078 GB, free: 46.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.464, allocations: 40 kB / 1.078 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/1.464, allocations: 491.4 kB / 1.079 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.464, allocations: 3.938 kB / 1.079 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/1.464, allocations: 12 kB / 1.079 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/1.464, allocations: 20.78 kB / 1.079 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/1.465, allocations: 330.9 kB / 1.079 GB, free: 45.14 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.002411/1.467, allocations: 2.445 MB / 1.082 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/1.468, allocations: 276.2 kB / 1.082 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.468, allocations: 129.3 kB / 1.082 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/1.468, allocations: 4.281 kB / 1.082 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/1.468, allocations: 241.1 kB / 1.082 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/1.468, allocations: 4 kB / 1.082 GB, free: 41.86 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.008181/1.476, allocations: 2.656 MB / 1.085 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/1.477, allocations: 166.2 kB / 1.085 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/1.477, allocations: 334.8 kB / 1.085 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/1.477, allocations: 37.7 kB / 1.085 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.477, allocations: 256 kB / 1.086 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/1.477, allocations: 157.7 kB / 1.086 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/1.477, allocations: 19.94 kB / 1.086 GB, free: 38.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/1.477, allocations: 358.8 kB / 1.086 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/1.478, allocations: 153.5 kB / 1.086 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.478, allocations: 338.5 kB / 1.087 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/1.478, allocations: 235.2 kB / 1.087 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.478, allocations: 4 kB / 1.087 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008324/1.479, allocations: 0.6349 MB / 1.087 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.479, allocations: 37.7 kB / 1.088 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.479, allocations: 7.938 kB / 1.088 GB, free: 36.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/1.48, allocations: 112.8 kB / 1.088 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/1.48, allocations: 147.9 kB / 1.088 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004233/1.481, allocations: 0.6694 MB / 1.088 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/1.481, allocations: 72 kB / 1.088 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/1.481, allocations: 44 kB / 1.089 GB, free: 35.15 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 () * 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.0001298/1.481, allocations: 144.8 kB / 1.089 GB, free: 35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/1.481, allocations: 51.47 kB / 1.089 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/1.483, allocations: 0.6117 MB / 1.089 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/1.483, allocations: 4 kB / 1.089 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.483, allocations: 4 kB / 1.089 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.483, allocations: 3.984 kB / 1.089 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.484, allocations: 1.155 MB / 1.09 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.484, allocations: 0 / 1.09 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/1.485, allocations: 115.9 kB / 1.091 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/1.485, allocations: 112.9 kB / 1.091 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/1.485, allocations: 20 kB / 1.091 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.486, allocations: 1.672 MB / 1.092 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.486, allocations: 4.031 kB / 1.092 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.488, allocations: 0.8495 MB / 1.093 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/1.488, allocations: 160.5 kB / 1.093 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/1.488, allocations: 15.98 kB / 1.093 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/1.488, allocations: 59.95 kB / 1.093 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.488, allocations: 63.84 kB / 1.093 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/1.489, allocations: 35.98 kB / 1.093 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002752/1.489, allocations: 261.2 kB / 1.094 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.489, allocations: 0 / 1.094 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001112/1.49, allocations: 299.8 kB / 1.094 GB, free: 29.21 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) * 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.001303/1.491, allocations: 0.7941 MB / 1.095 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008167/1.492, allocations: 498.1 kB / 1.095 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.492, allocations: 0 / 1.095 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004299/1.493, allocations: 346.4 kB / 1.096 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/1.493, allocations: 186.8 kB / 1.096 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/1.495, allocations: 0.823 MB / 1.097 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.495, allocations: 0.863 MB / 1.097 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000587/1.495, allocations: 160.5 kB / 1.098 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/1.496, allocations: 67.42 kB / 1.098 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.496, allocations: 0 / 1.098 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.02483/1.521, allocations: 21.3 MB / 1.118 GB, free: 4.152 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)