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.00134/0.00134, allocations: 156.1 kB / 7.633 MB, free: 1.445 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.5/1.5, allocations: 170.6 MB / 178.7 MB, free: 7.047 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.001635/0.001635, allocations: 101.2 kB / 218 MB, free: 15.34 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.1991/0.1991, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.12e-05, allocations: 4 kB / 350 MB, free: 32.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 48.69 MB / 398.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8245/1.118, allocations: 339.3 MB / 0.7207 GB, free: 149.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.118, allocations: 82.73 kB / 0.7208 GB, free: 149.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9224/2.04, allocations: 300.7 MB / 1.014 GB, free: 24.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/2.04, allocations: 3.938 kB / 1.014 GB, free: 24.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002404/2.041, allocations: 50.55 kB / 1.015 GB, free: 24.7 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.008776/2.05, allocations: 2.06 MB / 1.017 GB, free: 22.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/2.05, allocations: 8.031 kB / 1.017 GB, free: 22.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/2.052, allocations: 193.8 kB / 1.017 GB, free: 22.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/2.057, allocations: 1.274 MB / 1.018 GB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/2.057, allocations: 147.2 kB / 1.018 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/2.057, allocations: 64 kB / 1.018 GB, free: 20.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002947/2.06, allocations: 1.742 MB / 1.02 GB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/2.063, allocations: 1.763 MB / 1.022 GB, free: 17.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/2.063, allocations: 7.906 kB / 1.022 GB, free: 17.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/2.063, allocations: 4 kB / 1.022 GB, free: 17.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/2.063, allocations: 114.1 kB / 1.022 GB, free: 17.15 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01103/2.074, allocations: 6.76 MB / 1.028 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/2.076, allocations: 1.273 MB / 1.03 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/2.077, allocations: 0.7703 MB / 1.03 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005392/2.082, allocations: 4.419 MB / 1.035 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/2.082, allocations: 51.88 kB / 1.035 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008639/2.083, allocations: 166.9 kB / 1.035 GB, free: 3.078 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 3.065e-06/2.083, allocations: 4 kB / 1.035 GB, free: 3.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.3514/2.435, allocations: 5.005 MB / 1.04 GB, free: 48.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/2.435, allocations: 223 kB / 1.04 GB, free: 48.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/2.437, allocations: 0.8995 MB / 1.041 GB, free: 48.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003631/2.437, allocations: 26.67 kB / 1.041 GB, free: 47.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/2.438, allocations: 0.6692 MB / 1.041 GB, free: 47.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/2.438, allocations: 440.7 kB / 1.042 GB, free: 47.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/2.438, allocations: 2.844 kB / 1.042 GB, free: 47.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/2.438, allocations: 366.4 kB / 1.042 GB, free: 47.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/2.44, allocations: 0.72 MB / 1.043 GB, free: 47.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/2.441, allocations: 1.038 MB / 1.044 GB, free: 46.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/2.454, allocations: 2.538 MB / 1.046 GB, free: 46.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/2.454, allocations: 4.625 kB / 1.046 GB, free: 46.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01735/2.471, allocations: 3.974 MB / 1.05 GB, free: 46.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008636/2.472, allocations: 2.981 MB / 1.053 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/2.472, allocations: 11.81 kB / 1.053 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/2.478, allocations: 1.133 MB / 1.054 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/2.48, allocations: 333.3 kB / 1.055 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/2.485, allocations: 2.105 MB / 1.057 GB, free: 43.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/2.487, allocations: 78.36 kB / 1.057 GB, free: 43.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/2.488, allocations: 72.94 kB / 1.057 GB, free: 43.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.488, allocations: 5.438 kB / 1.057 GB, free: 43.08 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01286/2.501, allocations: 3.252 MB / 1.06 GB, free: 43.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-05/2.501, allocations: 13.19 kB / 1.06 GB, free: 43.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005043/2.506, allocations: 0.904 MB / 1.061 GB, free: 43.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/2.508, allocations: 349.1 kB / 1.061 GB, free: 43.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/2.509, allocations: 1.335 MB / 1.063 GB, free: 42.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/2.511, allocations: 72.33 kB / 1.063 GB, free: 42.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/2.512, allocations: 68.81 kB / 1.063 GB, free: 42.49 MB / 426.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 () * 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.0006644/2.512, allocations: 144.5 kB / 1.063 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/2.513, allocations: 152.9 kB / 1.063 GB, free: 42.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/2.52, allocations: 2.626 MB / 1.066 GB, free: 42.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/2.52, allocations: 23.75 kB / 1.066 GB, free: 42.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/2.52, allocations: 3.953 kB / 1.066 GB, free: 42.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/2.52, allocations: 7.781 kB / 1.066 GB, free: 42.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/2.531, allocations: 4.058 MB / 1.07 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/2.531, allocations: 0 / 1.07 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/2.532, allocations: 232.5 kB / 1.07 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/2.535, allocations: 0.9215 MB / 1.071 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/2.535, allocations: 24.31 kB / 1.071 GB, free: 41.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/2.539, allocations: 2.104 MB / 1.073 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.539, allocations: 0 / 1.073 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007043/2.546, allocations: 3.439 MB / 1.076 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/2.547, allocations: 431.5 kB / 1.077 GB, free: 40.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/2.547, allocations: 6.203 kB / 1.077 GB, free: 40.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/2.548, allocations: 88.62 kB / 1.077 GB, free: 40.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/2.549, allocations: 116.6 kB / 1.077 GB, free: 40.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/2.549, allocations: 60.22 kB / 1.077 GB, free: 40.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009929/2.55, allocations: 0.6636 MB / 1.077 GB, free: 40.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.55, allocations: 6 kB / 1.077 GB, free: 40.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005233/2.555, allocations: 1.332 MB / 1.079 GB, free: 40.74 MB / 426.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 () * 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.003502/2.559, allocations: 1.198 MB / 1.08 GB, free: 40.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005983/2.565, allocations: 2.928 MB / 1.083 GB, free: 40.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.565, allocations: 3.562 kB / 1.083 GB, free: 40.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/2.566, allocations: 0.9519 MB / 1.084 GB, free: 40.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/2.57, allocations: 0.608 MB / 1.084 GB, free: 40.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006179/2.576, allocations: 2.704 MB / 1.087 GB, free: 39.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/2.577, allocations: 1.419 MB / 1.088 GB, free: 39.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002651/2.58, allocations: 0.6448 MB / 1.089 GB, free: 39.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/2.58, allocations: 122.3 kB / 1.089 GB, free: 39.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/2.58, allocations: 2.25 kB / 1.089 GB, free: 39.18 MB / 426.7 MB Notification: Performance of Templates: time 0.06808/2.648, allocations: 44.19 MB / 1.132 GB, free: 36.17 MB / 426.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)