Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008312/0.008318, allocations: 174.6 kB / 15.12 MB, free: 5.977 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.711/1.711, allocations: 194.5 MB / 210.3 MB, free: 8.508 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.00196/0.00196, allocations: 112.5 kB / 255.6 MB, free: 11.12 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.2092/0.2092, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 11.38 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 54.87 MB / 461 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.297, allocations: 346.3 MB / 0.7884 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/1.298, allocations: 91.41 kB / 0.7885 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039/2.337, allocations: 303.6 MB / 1.085 GB, free: 12.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/2.337, allocations: 4 kB / 1.085 GB, free: 12.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002771/2.337, allocations: 47.92 kB / 1.085 GB, free: 12.05 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01037/2.347, allocations: 2.274 MB / 1.087 GB, free: 9.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/2.348, allocations: 12.03 kB / 1.087 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/2.349, allocations: 201.7 kB / 1.087 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/2.354, allocations: 1.27 MB / 1.089 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/2.354, allocations: 187.2 kB / 1.089 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/2.355, allocations: 119.8 kB / 1.089 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/2.358, allocations: 1.958 MB / 1.091 GB, free: 5.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/2.358, allocations: 3.938 kB / 1.091 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/2.358, allocations: 55.95 kB / 1.091 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/2.358, allocations: 118.2 kB / 1.091 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/2.361, allocations: 1.949 MB / 1.093 GB, free: 3.676 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.376/2.737, allocations: 7.016 MB / 1.1 GB, free: 60.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/2.74, allocations: 1.345 MB / 1.101 GB, free: 60.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007685/2.747, allocations: 4.451 MB / 1.105 GB, free: 58.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/2.747, allocations: 50.16 kB / 1.106 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001158/2.749, allocations: 228.2 kB / 1.106 GB, free: 58.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 6.091e-06/2.749, allocations: 1.922 kB / 1.106 GB, free: 58.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.0216/2.77, allocations: 6.392 MB / 1.112 GB, free: 57.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/2.77, allocations: 220.4 kB / 1.112 GB, free: 57.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/2.773, allocations: 1.202 MB / 1.113 GB, free: 57.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/2.773, allocations: 54.67 kB / 1.113 GB, free: 57.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/2.773, allocations: 0.6582 MB / 1.114 GB, free: 57.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/2.774, allocations: 455 kB / 1.115 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/2.774, allocations: 27.47 kB / 1.115 GB, free: 57.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/2.774, allocations: 369.6 kB / 1.115 GB, free: 56.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/2.775, allocations: 0.7666 MB / 1.116 GB, free: 56.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/2.777, allocations: 1.093 MB / 1.117 GB, free: 56.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/2.779, allocations: 0.8912 MB / 1.118 GB, free: 56.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/2.779, allocations: 2.688 kB / 1.118 GB, free: 56.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004343/2.783, allocations: 2.451 MB / 1.12 GB, free: 56.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008386/2.784, allocations: 3.019 MB / 1.123 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/2.784, allocations: 10.28 kB / 1.123 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007985/2.792, allocations: 1.496 MB / 1.124 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/2.794, allocations: 333 kB / 1.125 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/2.797, allocations: 1.7 MB / 1.126 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/2.799, allocations: 106.6 kB / 1.126 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/2.8, allocations: 82.25 kB / 1.127 GB, free: 52.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/2.8, allocations: 3.875 kB / 1.127 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003746/2.804, allocations: 2.042 MB / 1.129 GB, free: 52.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/2.804, allocations: 14 kB / 1.129 GB, free: 52.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/2.809, allocations: 0.9346 MB / 1.129 GB, free: 52.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/2.811, allocations: 348.9 kB / 1.13 GB, free: 52.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/2.812, allocations: 1.284 MB / 1.131 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/2.814, allocations: 103.7 kB / 1.131 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/2.814, allocations: 67.8 kB / 1.131 GB, free: 52.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.001202/2.815, allocations: 493.1 kB / 1.132 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/2.816, allocations: 166.2 kB / 1.132 GB, free: 51.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/2.82, allocations: 2.524 MB / 1.134 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/2.82, allocations: 18.8 kB / 1.134 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.82, allocations: 0 / 1.134 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/2.82, allocations: 12.28 kB / 1.134 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/2.827, allocations: 4.078 MB / 1.138 GB, free: 51.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/2.827, allocations: 3.188 kB / 1.138 GB, free: 51.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/2.828, allocations: 228.8 kB / 1.139 GB, free: 51.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/2.832, allocations: 1.236 MB / 1.14 GB, free: 51.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/2.832, allocations: 41.89 kB / 1.14 GB, free: 51.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/2.835, allocations: 1.755 MB / 1.142 GB, free: 50.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/2.835, allocations: 2.906 kB / 1.142 GB, free: 50.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/2.84, allocations: 3.357 MB / 1.145 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/2.841, allocations: 456.8 kB / 1.145 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/2.841, allocations: 38.45 kB / 1.145 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/2.842, allocations: 107 kB / 1.145 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/2.843, allocations: 112.2 kB / 1.145 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/2.843, allocations: 62.05 kB / 1.146 GB, free: 50.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001268/2.844, allocations: 0.9114 MB / 1.146 GB, free: 50.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.844, allocations: 0 / 1.146 GB, free: 50.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004593/2.849, allocations: 1.432 MB / 1.148 GB, free: 50.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.003163/2.852, allocations: 1.221 MB / 1.149 GB, free: 50.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006159/2.858, allocations: 3.089 MB / 1.152 GB, free: 49.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/2.858, allocations: 0 / 1.152 GB, free: 49.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/2.86, allocations: 1.033 MB / 1.153 GB, free: 49.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/2.864, allocations: 0.6857 MB / 1.154 GB, free: 49.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/2.87, allocations: 4.107 MB / 1.158 GB, free: 48.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/2.871, allocations: 1.41 MB / 1.159 GB, free: 47.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002427/2.873, allocations: 0.6136 MB / 1.16 GB, free: 47.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/2.874, allocations: 150 kB / 1.16 GB, free: 47.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/2.874, allocations: 0 / 1.16 GB, free: 47.65 MB / 490.7 MB Notification: Performance of Templates: time 0.07037/2.944, allocations: 46.79 MB / 1.206 GB, free: 45.03 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)