Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 184.7 kB / 7.653 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.566/1.566, allocations: 194.3 MB / 202.4 MB, free: 8.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001737/0.001737, allocations: 106.9 kB / 247.4 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2191/0.2191, allocations: 39.95 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.601e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/0.667, allocations: 214.7 MB / 0.6474 GB, free: 2.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.6673, allocations: 87.64 kB / 0.6475 GB, free: 2.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.94/2.608, allocations: 0.504 GB / 1.152 GB, free: 56.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/2.608, allocations: 0 / 1.152 GB, free: 56.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001532/2.608, allocations: 38.08 kB / 1.152 GB, free: 56.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006711/2.615, allocations: 1.893 MB / 1.153 GB, free: 54.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/2.615, allocations: 12.03 kB / 1.153 GB, free: 54.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/2.618, allocations: 350.1 kB / 1.154 GB, free: 53.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/2.621, allocations: 0.8956 MB / 1.155 GB, free: 52.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/2.621, allocations: 32 kB / 1.155 GB, free: 52.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/2.621, allocations: 48 kB / 1.155 GB, free: 52.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/2.622, allocations: 0.7206 MB / 1.155 GB, free: 52.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/2.624, allocations: 0.9316 MB / 1.156 GB, free: 51.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/2.624, allocations: 3.938 kB / 1.156 GB, free: 51.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/2.624, allocations: 4 kB / 1.156 GB, free: 51.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/2.624, allocations: 20 kB / 1.156 GB, free: 51.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006392/2.63, allocations: 6.133 MB / 1.162 GB, free: 44.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/2.631, allocations: 461.1 kB / 1.163 GB, free: 44.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/2.631, allocations: 214.1 kB / 1.163 GB, free: 43.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/2.632, allocations: 0.7603 MB / 1.164 GB, free: 42.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/2.632, allocations: 39 kB / 1.164 GB, free: 42.85 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006858/2.633, allocations: 103.2 kB / 1.164 GB, free: 42.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 4.108e-06/2.633, allocations: 4 kB / 1.164 GB, free: 42.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.004912/2.638, allocations: 1.085 MB / 1.165 GB, free: 41.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/2.638, allocations: 188.4 kB / 1.165 GB, free: 41.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/2.638, allocations: 0.6818 MB / 1.166 GB, free: 40.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/2.639, allocations: 25.7 kB / 1.166 GB, free: 40.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/2.639, allocations: 0.603 MB / 1.166 GB, free: 40.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/2.639, allocations: 165.6 kB / 1.167 GB, free: 39.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/2.639, allocations: 0 / 1.167 GB, free: 39.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/2.639, allocations: 345.9 kB / 1.167 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/2.64, allocations: 258.5 kB / 1.167 GB, free: 39.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/2.64, allocations: 0.5958 MB / 1.168 GB, free: 38.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006408/2.646, allocations: 1.502 MB / 1.169 GB, free: 37.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/2.647, allocations: 4 kB / 1.169 GB, free: 37.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007746/2.654, allocations: 2.181 MB / 1.171 GB, free: 34.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009173/2.655, allocations: 4.181 MB / 1.175 GB, free: 30.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/2.655, allocations: 12 kB / 1.175 GB, free: 30.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/2.657, allocations: 424.3 kB / 1.176 GB, free: 29.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/2.658, allocations: 287.5 kB / 1.176 GB, free: 29.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/2.66, allocations: 0.9503 MB / 1.177 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/2.661, allocations: 83.78 kB / 1.177 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/2.662, allocations: 79.95 kB / 1.177 GB, free: 28.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/2.662, allocations: 7.438 kB / 1.177 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00598/2.668, allocations: 1.813 MB / 1.179 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/2.668, allocations: 8.656 kB / 1.179 GB, free: 26.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/2.668, allocations: 84.81 kB / 1.179 GB, free: 26.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/2.669, allocations: 307.5 kB / 1.179 GB, free: 26.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/2.67, allocations: 1.601 MB / 1.181 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/2.671, allocations: 68 kB / 1.181 GB, free: 24.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/2.672, allocations: 71.97 kB / 1.181 GB, free: 24.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002827/2.672, allocations: 142.2 kB / 1.181 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/2.672, allocations: 106.7 kB / 1.181 GB, free: 24.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/2.676, allocations: 1.754 MB / 1.183 GB, free: 22.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/2.677, allocations: 8 kB / 1.183 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/2.677, allocations: 0 / 1.183 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/2.677, allocations: 3.984 kB / 1.183 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/2.68, allocations: 1.79 MB / 1.185 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.68, allocations: 4 kB / 1.185 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/2.681, allocations: 132 kB / 1.185 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009871/2.682, allocations: 292.5 kB / 1.185 GB, free: 20.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/2.682, allocations: 15.98 kB / 1.185 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/2.683, allocations: 0.9178 MB / 1.186 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.683, allocations: 0 / 1.186 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/2.686, allocations: 1.155 MB / 1.187 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/2.686, allocations: 307.4 kB / 1.187 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/2.686, allocations: 8 kB / 1.187 GB, free: 17.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/2.687, allocations: 75.67 kB / 1.188 GB, free: 17.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/2.687, allocations: 48.48 kB / 1.188 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/2.687, allocations: 31.98 kB / 1.188 GB, free: 17.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006972/2.688, allocations: 0.515 MB / 1.188 GB, free: 17.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.688, allocations: 0 / 1.188 GB, free: 17.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004082/2.692, allocations: 0.9895 MB / 1.189 GB, free: 16.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002988/2.695, allocations: 0.7819 MB / 1.19 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/2.698, allocations: 1.241 MB / 1.191 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.698, allocations: 0 / 1.191 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/2.698, allocations: 299.2 kB / 1.191 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/2.7, allocations: 405.5 kB / 1.192 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/2.703, allocations: 1.483 MB / 1.193 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/2.704, allocations: 1.1 MB / 1.194 GB, free: 10.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002156/2.706, allocations: 0.8295 MB / 1.195 GB, free: 9.918 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/2.706, allocations: 110.3 kB / 1.195 GB, free: 9.816 MB / 474.7 MB Notification: Performance of SimCode: time 1.223e-06/2.706, allocations: 0 / 1.195 GB, free: 9.816 MB / 474.7 MB Notification: Performance of Templates: time 0.04345/2.75, allocations: 25.38 MB / 1.22 GB, free: 0.543 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)