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.01028/0.01028, allocations: 176.4 kB / 15.12 MB, free: 5.969 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.889/1.889, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001926/0.001926, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2355/0.2355, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.000407, allocations: 14.19 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 54.88 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5596/0.6941, allocations: 215.5 MB / 0.6607 GB, free: 8.109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.6945, allocations: 87.73 kB / 0.6608 GB, free: 8.062 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.842/2.537, allocations: 0.5099 GB / 1.171 GB, free: 75.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.537, allocations: 0 / 1.171 GB, free: 75.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.166e-05/2.537, allocations: 33.64 kB / 1.171 GB, free: 75.48 MB / 490.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.005509/2.542, allocations: 2.052 MB / 1.173 GB, free: 74.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/2.542, allocations: 8.812 kB / 1.173 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/2.546, allocations: 354.6 kB / 1.173 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/2.548, allocations: 0.8999 MB / 1.174 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/2.548, allocations: 62.59 kB / 1.174 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/2.548, allocations: 81.92 kB / 1.174 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/2.551, allocations: 1.233 MB / 1.175 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/2.551, allocations: 0 / 1.175 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/2.551, allocations: 48.38 kB / 1.175 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/2.551, allocations: 19.91 kB / 1.175 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/2.553, allocations: 1.001 MB / 1.176 GB, free: 73.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/2.559, allocations: 6.256 MB / 1.182 GB, free: 69.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/2.561, allocations: 0.6291 MB / 1.183 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/2.561, allocations: 0.758 MB / 1.184 GB, free: 68.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/2.561, allocations: 45.31 kB / 1.184 GB, free: 68.83 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006626/2.562, allocations: 115.1 kB / 1.184 GB, free: 68.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/2.562, allocations: 0 / 1.184 GB, free: 68.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.004832/2.567, allocations: 1.43 MB / 1.185 GB, free: 68.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/2.567, allocations: 190.9 kB / 1.185 GB, free: 68.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/2.568, allocations: 0.7516 MB / 1.186 GB, free: 68.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/2.568, allocations: 35.7 kB / 1.186 GB, free: 68.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/2.568, allocations: 0.6015 MB / 1.187 GB, free: 67.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/2.568, allocations: 176.4 kB / 1.187 GB, free: 67.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/2.568, allocations: 19.41 kB / 1.187 GB, free: 67.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/2.569, allocations: 349.3 kB / 1.187 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/2.569, allocations: 357.3 kB / 1.188 GB, free: 67.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/2.57, allocations: 0.6964 MB / 1.188 GB, free: 67.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/2.571, allocations: 451.3 kB / 1.189 GB, free: 67.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/2.571, allocations: 3.5 kB / 1.189 GB, free: 67.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00227/2.573, allocations: 1.265 MB / 1.19 GB, free: 66.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006576/2.574, allocations: 4.186 MB / 1.194 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/2.574, allocations: 15.67 kB / 1.194 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005334/2.579, allocations: 0.7603 MB / 1.195 GB, free: 62.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/2.58, allocations: 297 kB / 1.195 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007668/2.581, allocations: 0.7826 MB / 1.196 GB, free: 62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/2.582, allocations: 100.8 kB / 1.196 GB, free: 62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/2.582, allocations: 84.05 kB / 1.196 GB, free: 62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/2.582, allocations: 3.969 kB / 1.196 GB, free: 62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002029/2.584, allocations: 1.105 MB / 1.197 GB, free: 61.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/2.584, allocations: 11.03 kB / 1.197 GB, free: 61.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/2.585, allocations: 91.3 kB / 1.197 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/2.586, allocations: 301.2 kB / 1.198 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/2.587, allocations: 1.66 MB / 1.199 GB, free: 60.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/2.588, allocations: 89.72 kB / 1.199 GB, free: 60.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/2.588, allocations: 74.17 kB / 1.199 GB, free: 60.53 MB / 490.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 () * Number of clocked 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.0006098/2.589, allocations: 336.8 kB / 1.2 GB, free: 60.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/2.589, allocations: 107.5 kB / 1.2 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/2.592, allocations: 1.667 MB / 1.201 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/2.592, allocations: 11.41 kB / 1.201 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/2.592, allocations: 3.812 kB / 1.201 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/2.592, allocations: 3.891 kB / 1.201 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/2.596, allocations: 1.821 MB / 1.203 GB, free: 59.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.596, allocations: 3.688 kB / 1.203 GB, free: 59.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/2.597, allocations: 128.2 kB / 1.203 GB, free: 59.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/2.6, allocations: 0.589 MB / 1.204 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/2.6, allocations: 23.95 kB / 1.204 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007108/2.6, allocations: 0.8193 MB / 1.205 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.6, allocations: 3.188 kB / 1.205 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/2.602, allocations: 1.06 MB / 1.206 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/2.603, allocations: 314.2 kB / 1.206 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/2.603, allocations: 17.19 kB / 1.206 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/2.604, allocations: 73.53 kB / 1.206 GB, free: 58.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/2.604, allocations: 52.92 kB / 1.206 GB, free: 58.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/2.605, allocations: 32.28 kB / 1.206 GB, free: 58.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009256/2.605, allocations: 0.5912 MB / 1.207 GB, free: 58.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.605, allocations: 0 / 1.207 GB, free: 58.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004491/2.61, allocations: 1.026 MB / 1.208 GB, free: 58.38 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 () * Number of clocked 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.003037/2.613, allocations: 0.7946 MB / 1.209 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003256/2.616, allocations: 1.561 MB / 1.21 GB, free: 57.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.616, allocations: 2.75 kB / 1.21 GB, free: 57.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009829/2.617, allocations: 393.6 kB / 1.21 GB, free: 57.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/2.619, allocations: 413.8 kB / 1.211 GB, free: 57.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/2.623, allocations: 2.43 MB / 1.213 GB, free: 56.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/2.624, allocations: 1.104 MB / 1.214 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002003/2.626, allocations: 0.7913 MB / 1.215 GB, free: 56.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/2.626, allocations: 118.5 kB / 1.215 GB, free: 56 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/2.626, allocations: 0 / 1.215 GB, free: 56 MB / 490.7 MB Notification: Performance of Templates: time 0.03676/2.663, allocations: 24.96 MB / 1.24 GB, free: 45.34 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)