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.001042/0.001042, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.59/1.59, allocations: 194.3 MB / 202.4 MB, free: 8.484 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.001649/0.001649, allocations: 118 kB / 247.4 MB, free: 6.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1982/0.1982, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.443e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08916, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/0.8951, allocations: 345.5 MB / 0.7751 GB, free: 65.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.8953, allocations: 83.45 kB / 0.7752 GB, free: 65.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323/2.218, allocations: 300.7 MB / 1.069 GB, free: 67.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.218, allocations: 0 / 1.069 GB, free: 67.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001746/2.218, allocations: 49.69 kB / 1.069 GB, free: 67.02 MB / 474.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.007012/2.225, allocations: 2.049 MB / 1.071 GB, free: 66.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/2.225, allocations: 13.25 kB / 1.071 GB, free: 66.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/2.227, allocations: 203 kB / 1.071 GB, free: 66.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/2.229, allocations: 1.265 MB / 1.072 GB, free: 65.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/2.23, allocations: 146.5 kB / 1.072 GB, free: 65.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/2.23, allocations: 64.06 kB / 1.073 GB, free: 65.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002414/2.232, allocations: 1.745 MB / 1.074 GB, free: 65.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/2.235, allocations: 1.76 MB / 1.076 GB, free: 65.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/2.235, allocations: 2.156 kB / 1.076 GB, free: 65.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/2.235, allocations: 3.75 kB / 1.076 GB, free: 65.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/2.235, allocations: 115.5 kB / 1.076 GB, free: 65.33 MB / 474.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.01073/2.246, allocations: 6.756 MB / 1.083 GB, free: 63.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/2.247, allocations: 1.278 MB / 1.084 GB, free: 63.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/2.248, allocations: 0.7649 MB / 1.085 GB, free: 63.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005451/2.254, allocations: 4.405 MB / 1.089 GB, free: 60.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/2.254, allocations: 51.19 kB / 1.089 GB, free: 60.69 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009342/2.255, allocations: 169.3 kB / 1.089 GB, free: 60.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=117): time 4.809e-06/2.255, allocations: 0 / 1.089 GB, free: 60.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.01489/2.269, allocations: 5.001 MB / 1.094 GB, free: 60.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/2.27, allocations: 220.4 kB / 1.094 GB, free: 59.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/2.271, allocations: 0.9082 MB / 1.095 GB, free: 59.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/2.271, allocations: 29.61 kB / 1.095 GB, free: 59.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/2.271, allocations: 0.6585 MB / 1.096 GB, free: 59.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/2.272, allocations: 445.4 kB / 1.096 GB, free: 59.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/2.272, allocations: 4.5 kB / 1.096 GB, free: 59.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/2.272, allocations: 374 kB / 1.097 GB, free: 58.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009569/2.273, allocations: 0.7229 MB / 1.097 GB, free: 58.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/2.274, allocations: 1.039 MB / 1.098 GB, free: 58.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/2.285, allocations: 2.544 MB / 1.101 GB, free: 58.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/2.285, allocations: 3.875 kB / 1.101 GB, free: 58.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01545/2.301, allocations: 3.966 MB / 1.105 GB, free: 58.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006638/2.301, allocations: 2.978 MB / 1.108 GB, free: 55.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/2.301, allocations: 7.75 kB / 1.108 GB, free: 55.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/2.307, allocations: 1.146 MB / 1.109 GB, free: 55.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/2.308, allocations: 329.6 kB / 1.109 GB, free: 55.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/2.313, allocations: 2.112 MB / 1.111 GB, free: 54.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/2.315, allocations: 72.42 kB / 1.111 GB, free: 54.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/2.316, allocations: 76.72 kB / 1.111 GB, free: 54.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/2.316, allocations: 7.094 kB / 1.111 GB, free: 54.55 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/2.329, allocations: 3.248 MB / 1.114 GB, free: 54.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.429e-05/2.329, allocations: 12.5 kB / 1.114 GB, free: 54.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/2.334, allocations: 0.9068 MB / 1.115 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/2.335, allocations: 341.8 kB / 1.116 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/2.337, allocations: 1.341 MB / 1.117 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/2.339, allocations: 67.39 kB / 1.117 GB, free: 53.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/2.339, allocations: 73.66 kB / 1.117 GB, free: 53.95 MB / 474.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.0007186/2.34, allocations: 138.1 kB / 1.117 GB, free: 53.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/2.341, allocations: 148.8 kB / 1.117 GB, free: 53.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/2.348, allocations: 2.647 MB / 1.12 GB, free: 53.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/2.348, allocations: 17.19 kB / 1.12 GB, free: 53.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/2.348, allocations: 0 / 1.12 GB, free: 53.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/2.348, allocations: 7.406 kB / 1.12 GB, free: 53.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/2.358, allocations: 4.062 MB / 1.124 GB, free: 53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/2.358, allocations: 0 / 1.124 GB, free: 53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/2.359, allocations: 236.8 kB / 1.124 GB, free: 53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/2.362, allocations: 0.9241 MB / 1.125 GB, free: 52.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/2.363, allocations: 23.8 kB / 1.125 GB, free: 52.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/2.366, allocations: 2.093 MB / 1.127 GB, free: 51.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/2.367, allocations: 0 / 1.127 GB, free: 51.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006958/2.373, allocations: 3.453 MB / 1.131 GB, free: 50.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/2.375, allocations: 428.4 kB / 1.131 GB, free: 50.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/2.375, allocations: 5.359 kB / 1.131 GB, free: 50.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/2.377, allocations: 79.06 kB / 1.131 GB, free: 50.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/2.377, allocations: 119 kB / 1.131 GB, free: 50.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/2.377, allocations: 60.5 kB / 1.131 GB, free: 50.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001135/2.378, allocations: 0.6636 MB / 1.132 GB, free: 49.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/2.378, allocations: 0 / 1.132 GB, free: 49.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004941/2.383, allocations: 1.33 MB / 1.133 GB, free: 49.56 MB / 474.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.003884/2.387, allocations: 1.214 MB / 1.134 GB, free: 49.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006119/2.393, allocations: 2.923 MB / 1.137 GB, free: 48.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/2.393, allocations: 3.938 kB / 1.137 GB, free: 48.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/2.395, allocations: 0.9636 MB / 1.138 GB, free: 47.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/2.399, allocations: 0.6038 MB / 1.139 GB, free: 47.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/2.404, allocations: 2.706 MB / 1.141 GB, free: 45.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/2.405, allocations: 1.419 MB / 1.143 GB, free: 44.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002637/2.408, allocations: 0.6312 MB / 1.143 GB, free: 44.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/2.408, allocations: 127.8 kB / 1.143 GB, free: 44.05 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/2.408, allocations: 0 / 1.143 GB, free: 44.05 MB / 474.7 MB Notification: Performance of Templates: time 0.06182/2.47, allocations: 44.18 MB / 1.187 GB, free: 9.629 MB / 474.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)