Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.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 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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 99.62 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.000888/0.0008879, 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.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2853/0.2853, allocations: 40 MB / 310.4 MB, free: 9.742 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.2. 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.0005225/0.0005226, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.2447/0.3538, allocations: 40.25 MB / 477 MB, free: 30.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.3764, allocations: 22.55 MB / 499.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.3775, allocations: 38.84 kB / 499.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3788, allocations: 0.4941 MB / 0.4884 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.3911, allocations: 4.756 MB / 0.493 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.4019, allocations: 4.081 MB / 0.497 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.4048, allocations: 1.493 MB / 0.4985 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008737/0.4057, allocations: 0.4911 MB / 0.4989 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01539/0.4211, allocations: 9.152 MB / 0.5079 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0202/0.4413, allocations: 14.38 MB / 0.5219 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.4416, allocations: 40 kB / 0.522 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.4584, allocations: 8.288 MB / 0.5301 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006207/0.4591, allocations: 279.1 kB / 0.5303 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.4596, allocations: 225.2 kB / 0.5305 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009182/0.4688, allocations: 4.12 MB / 0.5346 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4688, allocations: 0 / 0.5346 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4688, allocations: 0 / 0.5346 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.4689, allocations: 0 / 0.5346 GB, free: 4.102 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005465/0.4743, allocations: 1.935 MB / 0.5364 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4744, allocations: 8.031 kB / 0.5365 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.4769, allocations: 378.4 kB / 0.5368 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4783, allocations: 0.7031 MB / 0.5375 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.4784, allocations: 66 kB / 0.5376 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.4785, allocations: 79.89 kB / 0.5376 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.4816, allocations: 1.447 MB / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.4817, allocations: 7.938 kB / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.4818, allocations: 31.98 kB / 0.5391 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.489e-05/0.4819, allocations: 61.95 kB / 0.5392 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.485, allocations: 1.35 MB / 0.5405 GB, free: 13.88 MB / 414.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.008298/0.4934, allocations: 6.547 MB / 0.5469 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.4961, allocations: 1.017 MB / 0.5479 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06343/0.5596, allocations: 32.48 MB / 0.5796 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.016e-05/0.5597, allocations: 46.88 kB / 0.5796 GB, free: 1.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.635e-06/0.5597, allocations: 0 / 0.5796 GB, free: 1.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.008601/0.5683, allocations: 3.314 MB / 0.5829 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.5685, allocations: 158.8 kB / 0.583 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.5693, allocations: 0.7191 MB / 0.5837 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.5694, allocations: 33.7 kB / 0.5837 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.5697, allocations: 435.4 kB / 0.5842 GB, free: 12.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.5699, allocations: 205 kB / 0.5843 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.5699, allocations: 12 kB / 0.5844 GB, free: 12.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5701, allocations: 394.7 kB / 0.5847 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/0.571, allocations: 413.7 kB / 0.5851 GB, free: 11.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.572, allocations: 0.6218 MB / 0.5857 GB, free: 10.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009255/0.5729, allocations: 485.9 kB / 0.5862 GB, free: 10.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5729, allocations: 3.938 kB / 0.5862 GB, free: 10.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002652/0.5756, allocations: 1.354 MB / 0.5875 GB, free: 9.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009452/0.5765, allocations: 2.444 MB / 0.5899 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5766, allocations: 8 kB / 0.5899 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.5799, allocations: 0.6953 MB / 0.5906 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5805, allocations: 163.8 kB / 0.5908 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.5822, allocations: 1.298 MB / 0.592 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/0.5831, allocations: 104.9 kB / 0.5921 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.5832, allocations: 43.98 kB / 0.5922 GB, free: 4.082 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5832, allocations: 4 kB / 0.5922 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/0.5857, allocations: 1.232 MB / 0.5934 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5858, allocations: 7.953 kB / 0.5934 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.5875, allocations: 436.8 kB / 0.5938 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.5881, allocations: 175.7 kB / 0.594 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.5894, allocations: 1.109 MB / 0.595 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008621/0.5903, allocations: 107.8 kB / 0.5951 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.5904, allocations: 40.86 kB / 0.5952 GB, free: 0.9531 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005702/0.591, allocations: 364.8 kB / 0.5955 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5912, allocations: 90.97 kB / 0.5956 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.5953, allocations: 3.316 MB / 0.5989 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.5954, allocations: 39.94 kB / 0.5989 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5954, allocations: 3.953 kB / 0.5989 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003091/0.5985, allocations: 2.776 MB / 0.6016 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/0.6041, allocations: 4.573 MB / 0.6061 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.6041, allocations: 3.953 kB / 0.6061 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.6048, allocations: 175.7 kB / 0.6063 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.6052, allocations: 104.7 kB / 0.6064 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6052, allocations: 19.98 kB / 0.6064 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004197/0.6057, allocations: 0.6499 MB / 0.607 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6057, allocations: 3.938 kB / 0.607 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.6094, allocations: 2.926 MB / 0.6099 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.61, allocations: 446.2 kB / 0.6103 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.6102, allocations: 16 kB / 0.6103 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.6109, allocations: 91.84 kB / 0.6104 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.611, allocations: 68.5 kB / 0.6105 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.6111, allocations: 23.98 kB / 0.6105 GB, free: 1.059 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000952/0.612, allocations: 0.7902 MB / 0.6113 GB, free: 268 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6121, allocations: 0 / 0.6113 GB, free: 268 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.004279/0.6163, allocations: 1.632 MB / 0.6128 GB, free: 14.63 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004742/0.6211, allocations: 1.582 MB / 0.6144 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.6245, allocations: 1.852 MB / 0.6162 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6245, allocations: 4.125 kB / 0.6162 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.6258, allocations: 0.8953 MB / 0.6171 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.6281, allocations: 465 kB / 0.6175 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.6327, allocations: 3.723 MB / 0.6212 GB, free: 6.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.6335, allocations: 1.341 MB / 0.6225 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001456/0.635, allocations: 0.9042 MB / 0.6234 GB, free: 3.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.6352, allocations: 83.42 kB / 0.6234 GB, free: 3.715 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6352, allocations: 0 / 0.6234 GB, free: 3.715 MB / 494.1 MB Notification: Performance of Templates: time 0.2604/0.8956, allocations: 57.86 MB / 0.6799 GB, free: 131.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) Environment - environmentSimulation: