Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00144/0.00144, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.518/1.518, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00175/0.00175, allocations: 115.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.219/0.219, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.008e-05, allocations: 2.5 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 48.73 MB / 398.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5348/0.6514, allocations: 208.4 MB / 0.5929 GB, free: 8.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.6517, allocations: 83.77 kB / 0.593 GB, free: 8.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.858/2.51, allocations: 0.4943 GB / 1.087 GB, free: 23.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/2.51, allocations: 0 / 1.087 GB, free: 23.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.119e-05/2.51, allocations: 37.16 kB / 1.087 GB, free: 23.07 MB / 426.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.005142/2.515, allocations: 1.893 MB / 1.089 GB, free: 21.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/2.515, allocations: 12.02 kB / 1.089 GB, free: 21.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/2.518, allocations: 358 kB / 1.09 GB, free: 20.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/2.52, allocations: 0.8932 MB / 1.09 GB, free: 19.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/2.52, allocations: 24 kB / 1.09 GB, free: 19.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/2.52, allocations: 48 kB / 1.09 GB, free: 19.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/2.522, allocations: 0.7185 MB / 1.091 GB, free: 19.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/2.523, allocations: 0.9349 MB / 1.092 GB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/2.523, allocations: 3.938 kB / 1.092 GB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/2.523, allocations: 4 kB / 1.092 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/2.523, allocations: 23.95 kB / 1.092 GB, free: 18.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/2.529, allocations: 6.128 MB / 1.098 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/2.53, allocations: 452.6 kB / 1.099 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/2.53, allocations: 218.1 kB / 1.099 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/2.53, allocations: 0.7583 MB / 1.1 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/2.53, allocations: 54.83 kB / 1.1 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006304/2.531, allocations: 94.45 kB / 1.1 GB, free: 9.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/2.531, allocations: 0 / 1.1 GB, free: 9.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.004806/2.536, allocations: 1.085 MB / 1.101 GB, free: 8.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/2.536, allocations: 192.4 kB / 1.101 GB, free: 8.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/2.537, allocations: 0.6819 MB / 1.102 GB, free: 7.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/2.537, allocations: 25.7 kB / 1.102 GB, free: 7.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/2.537, allocations: 0.6069 MB / 1.102 GB, free: 6.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/2.537, allocations: 165.6 kB / 1.102 GB, free: 6.832 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/2.537, allocations: 0 / 1.102 GB, free: 6.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/2.537, allocations: 345.9 kB / 1.103 GB, free: 6.488 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/2.538, allocations: 250.6 kB / 1.103 GB, free: 6.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/2.538, allocations: 0.5992 MB / 1.103 GB, free: 5.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006311/2.545, allocations: 1.504 MB / 1.105 GB, free: 3.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/2.545, allocations: 3.984 kB / 1.105 GB, free: 3.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007829/2.552, allocations: 2.181 MB / 1.107 GB, free: 1.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001845/2.554, allocations: 4.188 MB / 1.111 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/2.554, allocations: 8 kB / 1.111 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/2.557, allocations: 424.4 kB / 1.112 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/2.558, allocations: 291.5 kB / 1.112 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/2.56, allocations: 0.9392 MB / 1.113 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/2.561, allocations: 83.78 kB / 1.113 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/2.562, allocations: 83.95 kB / 1.113 GB, free: 11.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/2.562, allocations: 4 kB / 1.113 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006592/2.568, allocations: 1.817 MB / 1.115 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/2.568, allocations: 20.05 kB / 1.115 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/2.569, allocations: 72.81 kB / 1.115 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/2.57, allocations: 303.6 kB / 1.115 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/2.571, allocations: 1.589 MB / 1.117 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/2.573, allocations: 75.98 kB / 1.117 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/2.573, allocations: 67.97 kB / 1.117 GB, free: 7.371 MB / 442.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.0003048/2.573, allocations: 140.6 kB / 1.117 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/2.573, allocations: 102.7 kB / 1.117 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/2.578, allocations: 1.75 MB / 1.119 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/2.578, allocations: 8 kB / 1.119 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/2.578, allocations: 0 / 1.119 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/2.578, allocations: 7.922 kB / 1.119 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/2.582, allocations: 1.8 MB / 1.121 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.582, allocations: 0 / 1.121 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/2.583, allocations: 132 kB / 1.121 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/2.584, allocations: 300.5 kB / 1.121 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/2.584, allocations: 14.72 kB / 1.121 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/2.585, allocations: 0.919 MB / 1.122 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.585, allocations: 4.031 kB / 1.122 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/2.588, allocations: 1.163 MB / 1.123 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/2.589, allocations: 311.4 kB / 1.123 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/2.589, allocations: 4 kB / 1.123 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/2.59, allocations: 59.97 kB / 1.123 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/2.59, allocations: 56.48 kB / 1.123 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/2.59, allocations: 27.98 kB / 1.123 GB, free: 432 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.3063/2.896, allocations: 0.5204 MB / 1.124 GB, free: 63.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.12e-07/2.896, allocations: 1.438 kB / 1.124 GB, free: 63.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004136/2.9, allocations: 0.9721 MB / 1.125 GB, free: 63.27 MB / 442.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.002154/2.902, allocations: 0.7791 MB / 1.126 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/2.905, allocations: 1.241 MB / 1.127 GB, free: 63.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.905, allocations: 1.219 kB / 1.127 GB, free: 63.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/2.906, allocations: 296.4 kB / 1.127 GB, free: 63.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/2.908, allocations: 402.9 kB / 1.128 GB, free: 63.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/2.911, allocations: 1.486 MB / 1.129 GB, free: 62.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/2.912, allocations: 1.102 MB / 1.13 GB, free: 61.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002457/2.914, allocations: 0.8288 MB / 1.131 GB, free: 61.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/2.914, allocations: 114.4 kB / 1.131 GB, free: 61.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/2.914, allocations: 2.875 kB / 1.131 GB, free: 61.89 MB / 442.7 MB Notification: Performance of Templates: time 0.0401/2.954, allocations: 25.39 MB / 1.156 GB, free: 61.22 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)