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.001208/0.001208, allocations: 181.4 kB / 12.74 MB, free: 2.578 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.724/1.724, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001625/0.001625, allocations: 104.6 kB / 252.6 MB, free: 4.797 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.2203/0.2203, allocations: 39.95 MB / 337.6 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.447e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9741/1.097, allocations: 346.2 MB / 0.7826 GB, free: 85.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.098, allocations: 81.2 kB / 0.7826 GB, free: 85.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248/2.345, allocations: 302.6 MB / 1.078 GB, free: 66.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.996e-06/2.345, allocations: 0 / 1.078 GB, free: 66.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001681/2.346, allocations: 47.89 kB / 1.078 GB, free: 66.27 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.007005/2.353, allocations: 2.059 MB / 1.08 GB, free: 65.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/2.353, allocations: 9 kB / 1.08 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/2.354, allocations: 197.4 kB / 1.08 GB, free: 65.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/2.357, allocations: 1.275 MB / 1.082 GB, free: 65.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/2.357, allocations: 183.8 kB / 1.082 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/2.358, allocations: 113.2 kB / 1.082 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/2.361, allocations: 1.932 MB / 1.084 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/2.361, allocations: 0 / 1.084 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/2.361, allocations: 53.48 kB / 1.084 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/2.362, allocations: 115.7 kB / 1.084 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/2.365, allocations: 1.891 MB / 1.086 GB, free: 64.71 MB / 490.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.01342/2.378, allocations: 7.029 MB / 1.093 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/2.38, allocations: 1.304 MB / 1.094 GB, free: 62.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009731/2.381, allocations: 0.7899 MB / 1.095 GB, free: 62.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/2.387, allocations: 4.515 MB / 1.099 GB, free: 60.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/2.387, allocations: 51.16 kB / 1.099 GB, free: 60.1 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/2.388, allocations: 216.6 kB / 1.099 GB, free: 60.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 4.048e-06/2.388, allocations: 0 / 1.099 GB, free: 60.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.008665/2.397, allocations: 4.37 MB / 1.104 GB, free: 59.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/2.397, allocations: 229.5 kB / 1.104 GB, free: 59.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/2.398, allocations: 1.182 MB / 1.105 GB, free: 59.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/2.399, allocations: 52.33 kB / 1.105 GB, free: 58.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/2.399, allocations: 0.6527 MB / 1.106 GB, free: 58.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/2.399, allocations: 464.9 kB / 1.106 GB, free: 58.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/2.399, allocations: 31.34 kB / 1.106 GB, free: 58.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/2.4, allocations: 375.4 kB / 1.107 GB, free: 58.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/2.401, allocations: 0.7307 MB / 1.107 GB, free: 58.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/2.402, allocations: 1.063 MB / 1.108 GB, free: 57.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/2.403, allocations: 0.8594 MB / 1.109 GB, free: 57.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.403, allocations: 2.219 kB / 1.109 GB, free: 57.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.0037/2.407, allocations: 2.378 MB / 1.112 GB, free: 57.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006454/2.407, allocations: 3.017 MB / 1.114 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/2.407, allocations: 10.86 kB / 1.114 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/2.414, allocations: 1.474 MB / 1.116 GB, free: 54.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/2.416, allocations: 327.4 kB / 1.116 GB, free: 54.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/2.419, allocations: 1.696 MB / 1.118 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/2.421, allocations: 112.8 kB / 1.118 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/2.421, allocations: 80.69 kB / 1.118 GB, free: 53.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/2.421, allocations: 4.5 kB / 1.118 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/2.424, allocations: 1.983 MB / 1.12 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/2.424, allocations: 10.31 kB / 1.12 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004847/2.429, allocations: 0.9355 MB / 1.121 GB, free: 53.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/2.431, allocations: 347.9 kB / 1.121 GB, free: 53.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/2.432, allocations: 1.281 MB / 1.123 GB, free: 53.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/2.434, allocations: 98.62 kB / 1.123 GB, free: 53.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/2.434, allocations: 75.8 kB / 1.123 GB, free: 53.39 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 () * 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.0005673/2.435, allocations: 190.6 kB / 1.123 GB, free: 53.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/2.435, allocations: 168.8 kB / 1.123 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/2.44, allocations: 2.464 MB / 1.125 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/2.44, allocations: 16.94 kB / 1.125 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/2.44, allocations: 0 / 1.125 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/2.44, allocations: 7.453 kB / 1.125 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/2.446, allocations: 4.025 MB / 1.129 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/2.446, allocations: 2.406 kB / 1.129 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/2.447, allocations: 232.8 kB / 1.13 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004358/2.451, allocations: 1.206 MB / 1.131 GB, free: 52.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/2.451, allocations: 42.47 kB / 1.131 GB, free: 52.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/2.454, allocations: 1.757 MB / 1.133 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.454, allocations: 0 / 1.133 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/2.459, allocations: 3.28 MB / 1.136 GB, free: 51.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/2.46, allocations: 459.5 kB / 1.136 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/2.46, allocations: 27 kB / 1.136 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/2.462, allocations: 112.7 kB / 1.136 GB, free: 51.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/2.462, allocations: 113.3 kB / 1.136 GB, free: 51.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/2.462, allocations: 58.05 kB / 1.136 GB, free: 51.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001195/2.463, allocations: 0.9042 MB / 1.137 GB, free: 51.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.463, allocations: 0 / 1.137 GB, free: 51.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004279/2.467, allocations: 1.428 MB / 1.139 GB, free: 51.28 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 () * 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.002973/2.47, allocations: 1.219 MB / 1.14 GB, free: 50.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00548/2.476, allocations: 3.053 MB / 1.143 GB, free: 50.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/2.476, allocations: 0 / 1.143 GB, free: 50.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/2.478, allocations: 0.9964 MB / 1.144 GB, free: 50.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/2.481, allocations: 0.674 MB / 1.145 GB, free: 50.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/2.486, allocations: 2.831 MB / 1.147 GB, free: 50.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/2.487, allocations: 1.417 MB / 1.149 GB, free: 49.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002446/2.489, allocations: 0.7408 MB / 1.149 GB, free: 49.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/2.489, allocations: 124.8 kB / 1.15 GB, free: 49.45 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/2.489, allocations: 0 / 1.15 GB, free: 49.45 MB / 490.7 MB Notification: Performance of Templates: time 0.06893/2.558, allocations: 49.58 MB / 1.198 GB, free: 40.15 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)