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.001036/0.001036, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.25/1.25, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001633/0.001634, allocations: 103.5 kB / 223.2 MB, free: 4.043 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.1664/0.1664, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.274e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/0.07926, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4833, allocations: 209.1 MB / 0.6004 GB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4836, allocations: 82.52 kB / 0.6005 GB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646/2.13, allocations: 0.4989 GB / 1.099 GB, free: 15.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/2.13, allocations: 0 / 1.099 GB, free: 15.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.59e-05/2.13, allocations: 42.5 kB / 1.099 GB, free: 15.26 MB / 442.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.005444/2.135, allocations: 1.895 MB / 1.101 GB, free: 13.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/2.135, allocations: 8.031 kB / 1.101 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/2.139, allocations: 358.1 kB / 1.102 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/2.141, allocations: 0.8943 MB / 1.103 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/2.141, allocations: 62 kB / 1.103 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/2.141, allocations: 87.98 kB / 1.103 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/2.143, allocations: 1.13 MB / 1.104 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/2.143, allocations: 3.984 kB / 1.104 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/2.144, allocations: 40 kB / 1.104 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/2.144, allocations: 22.52 kB / 1.104 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/2.146, allocations: 0.8353 MB / 1.105 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007266/2.153, allocations: 6.264 MB / 1.111 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/2.154, allocations: 0.4893 MB / 1.111 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/2.154, allocations: 222.1 kB / 1.111 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/2.155, allocations: 0.7601 MB / 1.112 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/2.155, allocations: 39 kB / 1.112 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005705/2.156, allocations: 119.2 kB / 1.112 GB, free: 1.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/2.156, allocations: 0 / 1.112 GB, free: 1.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.002105/2.158, allocations: 0.7025 MB / 1.113 GB, free: 444 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/2.158, allocations: 188.4 kB / 1.113 GB, free: 212 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2203/2.378, allocations: 0.7395 MB / 1.114 GB, free: 59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/2.378, allocations: 34.05 kB / 1.114 GB, free: 58.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/2.379, allocations: 0.6057 MB / 1.115 GB, free: 58.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/2.379, allocations: 175.3 kB / 1.115 GB, free: 58.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/2.379, allocations: 18.06 kB / 1.115 GB, free: 58.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/2.379, allocations: 339.1 kB / 1.115 GB, free: 58.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/2.379, allocations: 267.6 kB / 1.115 GB, free: 58.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/2.38, allocations: 0.6185 MB / 1.116 GB, free: 58.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/2.381, allocations: 356.6 kB / 1.116 GB, free: 58.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/2.381, allocations: 3.75 kB / 1.116 GB, free: 58.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001852/2.382, allocations: 1.092 MB / 1.117 GB, free: 57.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006109/2.383, allocations: 4.181 MB / 1.121 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/2.383, allocations: 11.22 kB / 1.121 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005308/2.388, allocations: 0.7446 MB / 1.122 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/2.389, allocations: 287.7 kB / 1.122 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/2.39, allocations: 0.8 MB / 1.123 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/2.391, allocations: 99.28 kB / 1.123 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/2.392, allocations: 82.56 kB / 1.123 GB, free: 53.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/2.392, allocations: 3.875 kB / 1.123 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001657/2.393, allocations: 0.9302 MB / 1.124 GB, free: 53.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/2.393, allocations: 9.969 kB / 1.124 GB, free: 53.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/2.394, allocations: 83.59 kB / 1.124 GB, free: 53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/2.395, allocations: 304 kB / 1.125 GB, free: 53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/2.396, allocations: 1.642 MB / 1.126 GB, free: 51.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/2.397, allocations: 99.55 kB / 1.126 GB, free: 51.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/2.397, allocations: 72.03 kB / 1.126 GB, free: 51.66 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.0002121/2.397, allocations: 158.5 kB / 1.127 GB, free: 51.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.397, allocations: 100.8 kB / 1.127 GB, free: 51.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/2.4, allocations: 1.506 MB / 1.128 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/2.4, allocations: 8.062 kB / 1.128 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/2.4, allocations: 0 / 1.128 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/2.4, allocations: 3.516 kB / 1.128 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/2.403, allocations: 1.654 MB / 1.13 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.403, allocations: 1.281 kB / 1.13 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/2.403, allocations: 132.8 kB / 1.13 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/2.406, allocations: 0.5708 MB / 1.13 GB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/2.406, allocations: 21.77 kB / 1.13 GB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007006/2.407, allocations: 0.8131 MB / 1.131 GB, free: 50.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.407, allocations: 1.25 kB / 1.131 GB, free: 50.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/2.408, allocations: 0.891 MB / 1.132 GB, free: 50.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/2.409, allocations: 311.1 kB / 1.132 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/2.409, allocations: 12.47 kB / 1.132 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/2.41, allocations: 75.02 kB / 1.133 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/2.41, allocations: 57.83 kB / 1.133 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/2.41, allocations: 27.95 kB / 1.133 GB, free: 50 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008278/2.411, allocations: 0.581 MB / 1.133 GB, free: 49.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.411, allocations: 0 / 1.133 GB, free: 49.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00352/2.414, allocations: 1.03 MB / 1.134 GB, free: 49.86 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.001981/2.416, allocations: 0.7911 MB / 1.135 GB, free: 49.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/2.419, allocations: 1.329 MB / 1.136 GB, free: 49.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/2.419, allocations: 3.656 kB / 1.136 GB, free: 49.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/2.419, allocations: 309.3 kB / 1.137 GB, free: 49.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/2.421, allocations: 415.9 kB / 1.137 GB, free: 49.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/2.424, allocations: 1.522 MB / 1.138 GB, free: 49.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/2.424, allocations: 1.1 MB / 1.14 GB, free: 48.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002106/2.426, allocations: 0.8362 MB / 1.14 GB, free: 48.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/2.427, allocations: 108.8 kB / 1.14 GB, free: 48.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/2.427, allocations: 0 / 1.14 GB, free: 48.42 MB / 442.7 MB Notification: Performance of Templates: time 0.03626/2.463, allocations: 26.72 MB / 1.167 GB, free: 47.75 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)