Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01156/0.01156, allocations: 164.4 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.395/1.395, 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.001669/0.001669, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.3995/0.3995, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.991/1.143, allocations: 340 MB / 0.734 GB, free: 7.414 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.144, allocations: 87.45 kB / 0.7341 GB, free: 7.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316/2.459, allocations: 303.6 MB / 1.031 GB, free: 37.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/2.459, allocations: 0 / 1.031 GB, free: 37.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002584/2.459, allocations: 52.05 kB / 1.031 GB, free: 37.55 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009746/2.469, allocations: 2.274 MB / 1.033 GB, free: 35.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/2.469, allocations: 12.02 kB / 1.033 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/2.471, allocations: 207.1 kB / 1.033 GB, free: 35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/2.477, allocations: 1.263 MB / 1.034 GB, free: 33.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/2.477, allocations: 190.7 kB / 1.034 GB, free: 33.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007725/2.478, allocations: 120 kB / 1.035 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/2.483, allocations: 1.962 MB / 1.037 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/2.483, allocations: 4 kB / 1.037 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/2.483, allocations: 47.97 kB / 1.037 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/2.484, allocations: 114.2 kB / 1.037 GB, free: 31.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/2.488, allocations: 1.957 MB / 1.039 GB, free: 29.18 MB / 426.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.01517/2.503, allocations: 7.033 MB / 1.045 GB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/2.505, allocations: 1.36 MB / 1.047 GB, free: 20.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006331/2.511, allocations: 4.443 MB / 1.051 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/2.511, allocations: 51.5 kB / 1.051 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00124/2.513, allocations: 226.1 kB / 1.051 GB, free: 15.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 9.167e-06/2.513, allocations: 7.984 kB / 1.051 GB, free: 15.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01966/2.532, allocations: 6.383 MB / 1.058 GB, free: 8.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/2.532, allocations: 222.9 kB / 1.058 GB, free: 8.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/2.535, allocations: 1.212 MB / 1.059 GB, free: 7.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/2.535, allocations: 53.7 kB / 1.059 GB, free: 7.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000529/2.535, allocations: 0.6458 MB / 1.06 GB, free: 6.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/2.536, allocations: 461.4 kB / 1.06 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/2.536, allocations: 28 kB / 1.06 GB, free: 6.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/2.536, allocations: 365.9 kB / 1.061 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/2.538, allocations: 0.7769 MB / 1.061 GB, free: 5.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/2.539, allocations: 1.086 MB / 1.062 GB, free: 3.852 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/2.54, allocations: 0.8886 MB / 1.063 GB, free: 2.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/2.54, allocations: 4 kB / 1.063 GB, free: 2.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004438/2.545, allocations: 2.457 MB / 1.066 GB, free: 500 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001491/2.546, allocations: 3.013 MB / 1.069 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/2.546, allocations: 11.98 kB / 1.069 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008163/2.555, allocations: 1.493 MB / 1.07 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/2.557, allocations: 331.5 kB / 1.07 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/2.56, allocations: 1.707 MB / 1.072 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/2.562, allocations: 99.78 kB / 1.072 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/2.563, allocations: 79.95 kB / 1.072 GB, free: 9.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/2.563, allocations: 4 kB / 1.072 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004979/2.568, allocations: 2.031 MB / 1.074 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/2.568, allocations: 12 kB / 1.074 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005541/2.574, allocations: 0.9404 MB / 1.075 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/2.575, allocations: 351.5 kB / 1.075 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/2.577, allocations: 1.278 MB / 1.077 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/2.58, allocations: 99.78 kB / 1.077 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/2.58, allocations: 72.06 kB / 1.077 GB, free: 4.75 MB / 442.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.001678/2.582, allocations: 493.6 kB / 1.077 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/2.582, allocations: 169.9 kB / 1.077 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/2.589, allocations: 2.526 MB / 1.08 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/2.589, allocations: 19.98 kB / 1.08 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/2.589, allocations: 0 / 1.08 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/2.589, allocations: 7.969 kB / 1.08 GB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3461/2.935, allocations: 4.076 MB / 1.084 GB, free: 60.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/2.935, allocations: 1.406 kB / 1.084 GB, free: 60.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/2.936, allocations: 232.6 kB / 1.084 GB, free: 60.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/2.941, allocations: 1.234 MB / 1.085 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/2.941, allocations: 43.7 kB / 1.085 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/2.944, allocations: 1.756 MB / 1.087 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.944, allocations: 3.5 kB / 1.087 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/2.949, allocations: 3.355 MB / 1.09 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/2.951, allocations: 459.8 kB / 1.091 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/2.951, allocations: 31.19 kB / 1.091 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/2.952, allocations: 105.1 kB / 1.091 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/2.952, allocations: 116 kB / 1.091 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/2.953, allocations: 62.12 kB / 1.091 GB, free: 59.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001704/2.954, allocations: 0.9142 MB / 1.092 GB, free: 59.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.954, allocations: 0 / 1.092 GB, free: 59.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006317/2.961, allocations: 1.429 MB / 1.093 GB, free: 59.34 MB / 442.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.003724/2.964, allocations: 1.233 MB / 1.095 GB, free: 59.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006652/2.971, allocations: 3.091 MB / 1.098 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.971, allocations: 2.844 kB / 1.098 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/2.973, allocations: 1.02 MB / 1.099 GB, free: 59.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/2.977, allocations: 0.6832 MB / 1.099 GB, free: 59.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/2.985, allocations: 4.109 MB / 1.103 GB, free: 57.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/2.986, allocations: 1.416 MB / 1.105 GB, free: 56.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002808/2.989, allocations: 0.6128 MB / 1.105 GB, free: 56.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/2.989, allocations: 148.6 kB / 1.105 GB, free: 56.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/2.989, allocations: 0 / 1.105 GB, free: 56.91 MB / 442.7 MB Notification: Performance of Templates: time 0.08191/3.071, allocations: 46.81 MB / 1.151 GB, free: 54.23 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)