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.01048/0.01048, allocations: 167 kB / 15.11 MB, free: 5.973 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.687/1.687, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001848/0.001848, allocations: 107.3 kB / 226.2 MB, free: 8.023 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.3888/0.3888, allocations: 38.05 MB / 303.7 MB, free: 25.07 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 12 kB / 362.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 48.69 MB / 411.6 MB, free: 38.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.8538, allocations: 209.2 MB / 0.6062 GB, free: 107 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.8541, allocations: 88.14 kB / 0.6063 GB, free: 106.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834/2.688, allocations: 0.5002 GB / 1.107 GB, free: 58.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/2.688, allocations: 0 / 1.107 GB, free: 58.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.092e-05/2.688, allocations: 37.2 kB / 1.107 GB, free: 58.36 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.005369/2.694, allocations: 2.049 MB / 1.109 GB, free: 57.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/2.694, allocations: 13.97 kB / 1.109 GB, free: 57.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/2.697, allocations: 350.2 kB / 1.109 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/2.699, allocations: 0.9145 MB / 1.11 GB, free: 57.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/2.699, allocations: 62.16 kB / 1.11 GB, free: 57.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/2.699, allocations: 79.56 kB / 1.11 GB, free: 57.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/2.702, allocations: 1.229 MB / 1.111 GB, free: 56.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/2.702, allocations: 7.875 kB / 1.111 GB, free: 56.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/2.702, allocations: 39.94 kB / 1.111 GB, free: 56.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/2.702, allocations: 21.75 kB / 1.111 GB, free: 56.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/2.704, allocations: 1.003 MB / 1.112 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/2.71, allocations: 6.245 MB / 1.118 GB, free: 52.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/2.712, allocations: 0.6353 MB / 1.119 GB, free: 52.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/2.713, allocations: 0.7599 MB / 1.12 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/2.713, allocations: 40.42 kB / 1.12 GB, free: 51.67 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006397/2.713, allocations: 116.6 kB / 1.12 GB, free: 51.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.085e-06/2.713, allocations: 1.438 kB / 1.12 GB, free: 51.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.004785/2.718, allocations: 1.432 MB / 1.121 GB, free: 51.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/2.718, allocations: 190.8 kB / 1.121 GB, free: 51.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/2.719, allocations: 0.7524 MB / 1.122 GB, free: 51.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/2.719, allocations: 36.92 kB / 1.122 GB, free: 51.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/2.719, allocations: 0.6008 MB / 1.123 GB, free: 50.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/2.72, allocations: 172 kB / 1.123 GB, free: 50.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/2.72, allocations: 17.91 kB / 1.123 GB, free: 50.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/2.72, allocations: 343.5 kB / 1.123 GB, free: 50.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/2.72, allocations: 353.3 kB / 1.124 GB, free: 50.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/2.721, allocations: 0.697 MB / 1.124 GB, free: 49.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/2.722, allocations: 446.9 kB / 1.125 GB, free: 49.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/2.722, allocations: 3.844 kB / 1.125 GB, free: 49.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002448/2.724, allocations: 1.266 MB / 1.126 GB, free: 49.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008726/2.725, allocations: 4.189 MB / 1.13 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/2.725, allocations: 11.47 kB / 1.13 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005309/2.731, allocations: 0.7699 MB / 1.131 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/2.732, allocations: 293.4 kB / 1.131 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/2.732, allocations: 0.7979 MB / 1.132 GB, free: 44.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/2.734, allocations: 98.72 kB / 1.132 GB, free: 44.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.734, allocations: 80.97 kB / 1.132 GB, free: 44.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/2.734, allocations: 7.625 kB / 1.132 GB, free: 44.87 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002067/2.736, allocations: 1.101 MB / 1.133 GB, free: 44.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.736, allocations: 11.66 kB / 1.133 GB, free: 44.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/2.736, allocations: 90.41 kB / 1.133 GB, free: 44.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/2.737, allocations: 301.1 kB / 1.133 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/2.739, allocations: 1.671 MB / 1.135 GB, free: 43.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/2.74, allocations: 92.31 kB / 1.135 GB, free: 43.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/2.74, allocations: 68.97 kB / 1.135 GB, free: 43.39 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 () * 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.0007669/2.741, allocations: 337.1 kB / 1.136 GB, free: 43.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/2.741, allocations: 110.3 kB / 1.136 GB, free: 43.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/2.744, allocations: 1.67 MB / 1.137 GB, free: 42.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/2.744, allocations: 7.156 kB / 1.137 GB, free: 42.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/2.744, allocations: 3.281 kB / 1.137 GB, free: 42.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/2.744, allocations: 3.422 kB / 1.137 GB, free: 42.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/2.747, allocations: 1.815 MB / 1.139 GB, free: 42.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/2.747, allocations: 3.438 kB / 1.139 GB, free: 42.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/2.747, allocations: 134.9 kB / 1.139 GB, free: 42.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/2.75, allocations: 0.5774 MB / 1.14 GB, free: 42.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/2.75, allocations: 24.38 kB / 1.14 GB, free: 42.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006241/2.751, allocations: 0.8104 MB / 1.141 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.751, allocations: 0 / 1.141 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/2.753, allocations: 1.071 MB / 1.142 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/2.753, allocations: 311 kB / 1.142 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/2.753, allocations: 14.59 kB / 1.142 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/2.754, allocations: 75.56 kB / 1.142 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.754, allocations: 51.98 kB / 1.142 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/2.754, allocations: 29.83 kB / 1.142 GB, free: 41.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006948/2.755, allocations: 0.5889 MB / 1.143 GB, free: 41.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.755, allocations: 0 / 1.143 GB, free: 41.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003515/2.758, allocations: 1.029 MB / 1.144 GB, free: 41.25 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 () * 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.0022/2.76, allocations: 0.7986 MB / 1.144 GB, free: 41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003091/2.764, allocations: 1.549 MB / 1.146 GB, free: 40.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/2.764, allocations: 3.344 kB / 1.146 GB, free: 40.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/2.764, allocations: 403.8 kB / 1.146 GB, free: 40.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/2.766, allocations: 425.9 kB / 1.147 GB, free: 40.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/2.77, allocations: 2.437 MB / 1.149 GB, free: 39.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/2.771, allocations: 1.102 MB / 1.15 GB, free: 38.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002149/2.773, allocations: 0.7895 MB / 1.151 GB, free: 38.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/2.773, allocations: 110.6 kB / 1.151 GB, free: 38.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/2.773, allocations: 1.375 kB / 1.151 GB, free: 38.88 MB / 442.7 MB Notification: Performance of Templates: time 0.04264/2.816, allocations: 24.96 MB / 1.175 GB, free: 32.48 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)