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.001444/0.001444, allocations: 181.7 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.873/1.873, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.001743/0.001743, allocations: 115.7 kB / 252.6 MB, free: 4.848 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.2439/0.2439, allocations: 39.92 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.952e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/0.7049, allocations: 215.4 MB / 0.6549 GB, free: 9.691 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.7053, allocations: 83.2 kB / 0.6549 GB, free: 9.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053/2.759, allocations: 0.5087 GB / 1.164 GB, free: 33.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.759, allocations: 4 kB / 1.164 GB, free: 33.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.012e-05/2.759, allocations: 27.98 kB / 1.164 GB, free: 33.77 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.004942/2.764, allocations: 1.901 MB / 1.166 GB, free: 31.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.764, allocations: 8.031 kB / 1.166 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/2.767, allocations: 350 kB / 1.166 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/2.768, allocations: 0.8982 MB / 1.167 GB, free: 30.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/2.768, allocations: 66 kB / 1.167 GB, free: 30.47 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/2.769, allocations: 84 kB / 1.167 GB, free: 30.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/2.771, allocations: 1.126 MB / 1.168 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/2.771, allocations: 7.953 kB / 1.168 GB, free: 29.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/2.771, allocations: 47.92 kB / 1.168 GB, free: 29.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/2.771, allocations: 20 kB / 1.168 GB, free: 29.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/2.773, allocations: 0.8237 MB / 1.169 GB, free: 28.28 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/2.779, allocations: 6.277 MB / 1.175 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/2.78, allocations: 0.493 MB / 1.175 GB, free: 20.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/2.78, allocations: 222.1 kB / 1.176 GB, free: 20.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/2.781, allocations: 0.763 MB / 1.176 GB, free: 19.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/2.781, allocations: 43 kB / 1.176 GB, free: 19.77 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007419/2.781, allocations: 103.2 kB / 1.177 GB, free: 19.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 4.699e-06/2.782, allocations: 4 kB / 1.177 GB, free: 19.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.00209/2.784, allocations: 0.6987 MB / 1.177 GB, free: 18.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/2.784, allocations: 188.3 kB / 1.177 GB, free: 18.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/2.785, allocations: 0.7458 MB / 1.178 GB, free: 17.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/2.785, allocations: 37.7 kB / 1.178 GB, free: 17.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/2.785, allocations: 0.6068 MB / 1.179 GB, free: 17.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/2.785, allocations: 173.6 kB / 1.179 GB, free: 17.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/2.785, allocations: 16 kB / 1.179 GB, free: 17.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/2.785, allocations: 345.9 kB / 1.179 GB, free: 16.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/2.786, allocations: 261.9 kB / 1.18 GB, free: 16.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/2.786, allocations: 0.6071 MB / 1.18 GB, free: 15.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/2.787, allocations: 371.4 kB / 1.181 GB, free: 15.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/2.787, allocations: 4 kB / 1.181 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001694/2.789, allocations: 1.092 MB / 1.182 GB, free: 14.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001043/2.79, allocations: 4.18 MB / 1.186 GB, free: 9.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/2.79, allocations: 16 kB / 1.186 GB, free: 9.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/2.795, allocations: 0.7421 MB / 1.186 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/2.796, allocations: 291.5 kB / 1.187 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/2.797, allocations: 0.7865 MB / 1.187 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/2.798, allocations: 95.84 kB / 1.188 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/2.798, allocations: 79.95 kB / 1.188 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/2.798, allocations: 11.94 kB / 1.188 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/2.8, allocations: 0.9276 MB / 1.189 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.8, allocations: 12 kB / 1.189 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/2.801, allocations: 84.72 kB / 1.189 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008767/2.801, allocations: 303.6 kB / 1.189 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/2.803, allocations: 1.646 MB / 1.191 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/2.804, allocations: 95.94 kB / 1.191 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/2.805, allocations: 75.92 kB / 1.191 GB, free: 4.457 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.0003622/2.805, allocations: 160.3 kB / 1.191 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/2.805, allocations: 110.7 kB / 1.191 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/2.808, allocations: 1.503 MB / 1.192 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/2.808, allocations: 11.95 kB / 1.192 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/2.808, allocations: 0 / 1.192 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/2.808, allocations: 3.984 kB / 1.192 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/2.81, allocations: 1.645 MB / 1.194 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/2.81, allocations: 4.156 kB / 1.194 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/2.811, allocations: 123.9 kB / 1.194 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/2.813, allocations: 0.5742 MB / 1.195 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/2.813, allocations: 23.98 kB / 1.195 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008593/2.814, allocations: 0.806 MB / 1.196 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.814, allocations: 3.953 kB / 1.196 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/2.816, allocations: 0.8984 MB / 1.196 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/2.816, allocations: 307.4 kB / 1.197 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/2.817, allocations: 15.94 kB / 1.197 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/2.817, allocations: 71.94 kB / 1.197 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/2.817, allocations: 56.38 kB / 1.197 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/2.817, allocations: 28 kB / 1.197 GB, free: 13.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008865/2.818, allocations: 0.5865 MB / 1.197 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.818, allocations: 0 / 1.197 GB, free: 13.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003895/2.822, allocations: 1.034 MB / 1.198 GB, free: 12.32 MB / 490.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.002373/2.825, allocations: 0.7845 MB / 1.199 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/2.827, allocations: 1.323 MB / 1.201 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.827, allocations: 0 / 1.201 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/2.828, allocations: 318.1 kB / 1.201 GB, free: 9.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/2.83, allocations: 424.2 kB / 1.201 GB, free: 9.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/2.833, allocations: 1.514 MB / 1.203 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/2.834, allocations: 1.1 MB / 1.204 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002369/2.836, allocations: 0.8383 MB / 1.205 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/2.837, allocations: 99.38 kB / 1.205 GB, free: 5.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/2.837, allocations: 0 / 1.205 GB, free: 5.84 MB / 490.7 MB Notification: Performance of Templates: time 0.3754/3.212, allocations: 26.73 MB / 1.231 GB, free: 70.09 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)