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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009918, allocations: 100.4 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009742/0.0009745, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3446/0.3446, allocations: 38.02 MB / 308.4 MB, free: 10.37 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005439, allocations: 15.98 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.2527/0.3892, allocations: 28.37 MB / 462.3 MB, free: 33.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.408, allocations: 17.07 MB / 479.4 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.4106, allocations: 63.97 kB / 479.4 MB, free: 29.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.4125, allocations: 0.6155 MB / 480.1 MB, free: 29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.4186, allocations: 2.109 MB / 482.2 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01286/0.4315, allocations: 3.986 MB / 486.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.4364, allocations: 2.54 MB / 488.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.438, allocations: 1.084 MB / 489.8 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.4403, allocations: 1.332 MB / 491.1 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.442, allocations: 1.202 MB / 492.3 MB, free: 24.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.4423, allocations: 93 kB / 492.4 MB, free: 24.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.4476, allocations: 2.522 MB / 494.9 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.4483, allocations: 0.5263 MB / 495.4 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.4489, allocations: 352.1 kB / 495.8 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.4542, allocations: 2.962 MB / 498.8 MB, free: 22.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4542, allocations: 4 kB / 498.8 MB, free: 22.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4542, allocations: 3.156 kB / 498.8 MB, free: 22.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.4543, allocations: 0 / 498.8 MB, free: 22.34 MB / 382.1 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.00536/0.4596, allocations: 2.16 MB / 0.4892 GB, free: 21.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4597, allocations: 9.969 kB / 0.4892 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.4603, allocations: 200 kB / 0.4894 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4623, allocations: 1.079 MB / 0.4904 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.4624, allocations: 181.9 kB / 0.4906 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.4626, allocations: 127.4 kB / 0.4907 GB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/0.4659, allocations: 1.912 MB / 0.4926 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.466, allocations: 4 kB / 0.4926 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.4661, allocations: 49.19 kB / 0.4926 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.4663, allocations: 114.3 kB / 0.4928 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.4696, allocations: 1.953 MB / 0.4947 GB, free: 18.6 MB / 382.1 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.01254/0.4821, allocations: 7.36 MB / 0.5019 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.4842, allocations: 1.404 MB / 0.5032 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.4905, allocations: 4.559 MB / 0.5077 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.4906, allocations: 54.47 kB / 0.5077 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009141/0.4915, allocations: 222.4 kB / 0.5079 GB, free: 9.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 3.497e-06/0.4915, allocations: 0 / 0.5079 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01907/0.5106, allocations: 6.653 MB / 0.5144 GB, free: 6.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.5107, allocations: 224.3 kB / 0.5146 GB, free: 5.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.5124, allocations: 1.352 MB / 0.516 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5125, allocations: 56.08 kB / 0.516 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.5129, allocations: 0.6679 MB / 0.5167 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.5132, allocations: 459.2 kB / 0.5171 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.5133, allocations: 30.88 kB / 0.5171 GB, free: 4.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.5134, allocations: 370.4 kB / 0.5175 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.5146, allocations: 0.811 MB / 0.5183 GB, free: 3.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.5159, allocations: 1.153 MB / 0.5194 GB, free: 2.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.5172, allocations: 0.9342 MB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5172, allocations: 2.562 kB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003766/0.521, allocations: 2.566 MB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.522, allocations: 3.29 MB / 0.526 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.5221, allocations: 7.688 kB / 0.5261 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008857/0.5309, allocations: 1.699 MB / 0.5277 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.5326, allocations: 339.5 kB / 0.528 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.5354, allocations: 1.781 MB / 0.5298 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.5372, allocations: 103.7 kB / 0.5299 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.5374, allocations: 71.97 kB / 0.5299 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5374, allocations: 4 kB / 0.5299 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003797/0.5412, allocations: 2.261 MB / 0.5322 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.5412, allocations: 8 kB / 0.5322 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/0.5462, allocations: 1.067 MB / 0.5332 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5476, allocations: 347.5 kB / 0.5335 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.5498, allocations: 1.486 MB / 0.535 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.5515, allocations: 99.8 kB / 0.5351 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.5517, allocations: 72.73 kB / 0.5352 GB, free: 4.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (168): * Single equations (assignments): 165 * 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009884/0.5527, allocations: 497.6 kB / 0.5356 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.553, allocations: 170 kB / 0.5358 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.5574, allocations: 2.563 MB / 0.5383 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.5574, allocations: 16 kB / 0.5383 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5574, allocations: 8 kB / 0.5383 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.5575, allocations: 7.969 kB / 0.5383 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006617/0.5641, allocations: 4.2 MB / 0.5424 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5642, allocations: 0 / 0.5424 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5653, allocations: 231.7 kB / 0.5426 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005077/0.5704, allocations: 1.318 MB / 0.5439 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.5706, allocations: 43.97 kB / 0.544 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.5733, allocations: 1.796 MB / 0.5457 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5733, allocations: 96 / 0.5457 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.5789, allocations: 3.474 MB / 0.5491 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.5802, allocations: 474.6 kB / 0.5496 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.5805, allocations: 32 kB / 0.5496 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.5817, allocations: 103.9 kB / 0.5497 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.5819, allocations: 117.1 kB / 0.5498 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.5821, allocations: 63.95 kB / 0.5499 GB, free: 4.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.5834, allocations: 0.9031 MB / 0.5508 GB, free: 3.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5834, allocations: 0 / 0.5508 GB, free: 3.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003849/0.5873, allocations: 1.327 MB / 0.5521 GB, free: 2.652 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,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 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/0.5896, allocations: 0.9682 MB / 0.553 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006532/0.5961, allocations: 3.247 MB / 0.5562 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5961, allocations: 0.8125 kB / 0.5562 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.5982, allocations: 1.051 MB / 0.5572 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.6015, allocations: 0.7033 MB / 0.5579 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.6081, allocations: 4.127 MB / 0.5619 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.609, allocations: 1.422 MB / 0.5633 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002255/0.6113, allocations: 0.642 MB / 0.5639 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.6117, allocations: 143.4 kB / 0.5641 GB, free: 6.273 MB / 430.1 MB Notification: Performance of SimCode: time 1.001e-06/0.6117, allocations: 0 / 0.5641 GB, free: 6.273 MB / 430.1 MB Notification: Performance of Templates: time 0.07326/0.685, allocations: 47.28 MB / 0.6102 GB, free: 6.965 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: