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.001194/0.001194, allocations: 169.8 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.142/1.142, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001619/0.001619, allocations: 102.8 kB / 223.2 MB, free: 4.109 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.1713/0.1713, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.198e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09225, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7365/0.8288, allocations: 339.9 MB / 0.7282 GB, free: 42.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.8292, allocations: 83.14 kB / 0.7282 GB, free: 42.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072/1.901, allocations: 302.6 MB / 1.024 GB, free: 59.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/1.901, allocations: 3.031 kB / 1.024 GB, free: 59.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001238/1.901, allocations: 50.92 kB / 1.024 GB, free: 59.31 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.005375/1.907, allocations: 2.056 MB / 1.026 GB, free: 58.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.907, allocations: 7.625 kB / 1.026 GB, free: 58.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/1.907, allocations: 203.9 kB / 1.026 GB, free: 57.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/1.91, allocations: 1.263 MB / 1.027 GB, free: 57.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/1.91, allocations: 186.9 kB / 1.027 GB, free: 57.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/1.91, allocations: 122.6 kB / 1.028 GB, free: 57.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.913, allocations: 1.92 MB / 1.029 GB, free: 56.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.913, allocations: 1.781 kB / 1.029 GB, free: 56.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/1.913, allocations: 51.14 kB / 1.03 GB, free: 56.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.914, allocations: 119 kB / 1.03 GB, free: 56.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/1.916, allocations: 1.888 MB / 1.031 GB, free: 55.61 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.01116/1.927, allocations: 7.028 MB / 1.038 GB, free: 51.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.929, allocations: 1.315 MB / 1.04 GB, free: 51.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009379/1.93, allocations: 0.783 MB / 1.04 GB, free: 50.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005457/1.936, allocations: 4.511 MB / 1.045 GB, free: 46.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.632e-05/1.936, allocations: 47.56 kB / 1.045 GB, free: 46.41 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009119/1.937, allocations: 215 kB / 1.045 GB, free: 46.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 3.757e-06/1.937, allocations: 0 / 1.045 GB, free: 46.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.008228/1.945, allocations: 4.371 MB / 1.049 GB, free: 42.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.945, allocations: 226.9 kB / 1.05 GB, free: 42.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/1.946, allocations: 1.186 MB / 1.051 GB, free: 41.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/1.946, allocations: 53.7 kB / 1.051 GB, free: 41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/1.947, allocations: 0.6519 MB / 1.051 GB, free: 40.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/1.947, allocations: 462.1 kB / 1.052 GB, free: 40 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/1.947, allocations: 28 kB / 1.052 GB, free: 39.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/1.947, allocations: 374.1 kB / 1.052 GB, free: 39.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.948, allocations: 0.7302 MB / 1.053 GB, free: 38.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.949, allocations: 1.063 MB / 1.054 GB, free: 37.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.951, allocations: 0.8592 MB / 1.055 GB, free: 36.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.951, allocations: 11.45 kB / 1.055 GB, free: 36.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003458/1.954, allocations: 2.383 MB / 1.057 GB, free: 34.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00049/1.955, allocations: 3.018 MB / 1.06 GB, free: 31.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.955, allocations: 8 kB / 1.06 GB, free: 31.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/1.962, allocations: 1.478 MB / 1.062 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.963, allocations: 327.5 kB / 1.062 GB, free: 29.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/1.966, allocations: 1.7 MB / 1.063 GB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.967, allocations: 103.8 kB / 1.064 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/1.967, allocations: 75.95 kB / 1.064 GB, free: 27.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.967, allocations: 5.719 kB / 1.064 GB, free: 27.63 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002923/1.97, allocations: 1.98 MB / 1.066 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.97, allocations: 8 kB / 1.066 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004815/1.975, allocations: 0.9337 MB / 1.067 GB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.977, allocations: 343.5 kB / 1.067 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/1.978, allocations: 1.282 MB / 1.068 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.98, allocations: 99.78 kB / 1.068 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.98, allocations: 71.95 kB / 1.068 GB, free: 22.89 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.0004666/1.981, allocations: 192.7 kB / 1.068 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/1.981, allocations: 173.9 kB / 1.069 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/1.985, allocations: 2.47 MB / 1.071 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.985, allocations: 16 kB / 1.071 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.985, allocations: 0 / 1.071 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.985, allocations: 15.81 kB / 1.071 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/1.99, allocations: 4.027 MB / 1.075 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.99, allocations: 0 / 1.075 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.992, allocations: 231.7 kB / 1.075 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/1.996, allocations: 1.208 MB / 1.076 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.996, allocations: 39.97 kB / 1.076 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.998, allocations: 1.744 MB / 1.078 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.998, allocations: 0 / 1.078 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/2.002, allocations: 3.287 MB / 1.081 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/2.003, allocations: 450.7 kB / 1.082 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/2.004, allocations: 35.94 kB / 1.082 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/2.005, allocations: 103.8 kB / 1.082 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/2.005, allocations: 132.8 kB / 1.082 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/2.005, allocations: 59.91 kB / 1.082 GB, free: 8.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001167/2.007, allocations: 0.9017 MB / 1.083 GB, free: 7.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.007, allocations: 0 / 1.083 GB, free: 7.758 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003766/2.01, allocations: 1.421 MB / 1.084 GB, free: 6.336 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.002471/2.013, allocations: 1.227 MB / 1.086 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005449/2.018, allocations: 3.048 MB / 1.089 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.018, allocations: 0 / 1.089 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/2.02, allocations: 1.004 MB / 1.09 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/2.023, allocations: 0.6813 MB / 1.09 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/2.029, allocations: 2.831 MB / 1.093 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/2.03, allocations: 1.413 MB / 1.094 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002806/2.033, allocations: 0.7389 MB / 1.095 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/2.033, allocations: 131.3 kB / 1.095 GB, free: 11.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/2.033, allocations: 0 / 1.095 GB, free: 11.37 MB / 442.7 MB Notification: Performance of Templates: time 0.3134/2.347, allocations: 49.56 MB / 1.144 GB, free: 68.16 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)