Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001375/0.001375, allocations: 99.55 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.0009095/0.0009094, 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.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.3526/0.3526, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.0005681/0.0005682, allocations: 20.22 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.2365/0.3431, allocations: 40.25 MB / 474.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.3657, allocations: 22.56 MB / 496.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.367, allocations: 38.75 kB / 496.8 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.3684, allocations: 0.5008 MB / 497.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.3814, allocations: 4.748 MB / 0.4903 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.3925, allocations: 4.079 MB / 0.4942 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.3952, allocations: 1.492 MB / 0.4957 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007996/0.396, allocations: 0.4948 MB / 0.4962 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01681/0.4129, allocations: 9.147 MB / 0.5051 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02176/0.4347, allocations: 14.37 MB / 0.5191 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.435, allocations: 44 kB / 0.5192 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.4498, allocations: 8.291 MB / 0.5273 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.4505, allocations: 271.2 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.4512, allocations: 233.1 kB / 0.5278 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009945/0.4611, allocations: 4.117 MB / 0.5318 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4612, allocations: 0 / 0.5318 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4612, allocations: 0 / 0.5318 GB, free: 8.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4612, allocations: 0 / 0.5318 GB, free: 8.762 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.006266/0.4675, allocations: 1.941 MB / 0.5337 GB, free: 6.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4675, allocations: 8.031 kB / 0.5337 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.4702, allocations: 370.4 kB / 0.534 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4719, allocations: 0.707 MB / 0.5347 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/0.472, allocations: 69.98 kB / 0.5348 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.4721, allocations: 79.98 kB / 0.5349 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/0.4752, allocations: 1.443 MB / 0.5363 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.4752, allocations: 3.938 kB / 0.5363 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.4753, allocations: 35.98 kB / 0.5363 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.4754, allocations: 66.84 kB / 0.5364 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.4786, allocations: 1.342 MB / 0.5377 GB, free: 2.531 MB / 398.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.008276/0.4869, allocations: 6.546 MB / 0.5441 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.4899, allocations: 1.021 MB / 0.5451 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06583/0.5557, allocations: 32.48 MB / 0.5768 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.61e-05/0.5558, allocations: 42.98 kB / 0.5768 GB, free: 6.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 5.911e-06/0.5558, allocations: 0 / 0.5768 GB, free: 6.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.01001/0.5659, allocations: 3.324 MB / 0.5801 GB, free: 2.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.566, allocations: 166.8 kB / 0.5802 GB, free: 2.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5671, allocations: 0.7075 MB / 0.5809 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.5672, allocations: 37.7 kB / 0.581 GB, free: 1.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.5676, allocations: 423.5 kB / 0.5814 GB, free: 1.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.5678, allocations: 209 kB / 0.5816 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5679, allocations: 16 kB / 0.5816 GB, free: 1.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.5681, allocations: 394.7 kB / 0.582 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.5691, allocations: 413.7 kB / 0.5824 GB, free: 268 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5701, allocations: 0.625 MB / 0.583 GB, free: 15.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5712, allocations: 481.9 kB / 0.5834 GB, free: 15.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5712, allocations: 4 kB / 0.5834 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002837/0.574, allocations: 1.354 MB / 0.5848 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001308/0.5753, allocations: 2.444 MB / 0.5871 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5754, allocations: 4 kB / 0.5871 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.5787, allocations: 0.7032 MB / 0.5878 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.5793, allocations: 151.8 kB / 0.588 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.5812, allocations: 1.305 MB / 0.5893 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.5821, allocations: 103.8 kB / 0.5894 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.5822, allocations: 39.98 kB / 0.5894 GB, free: 8.742 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5822, allocations: 4 kB / 0.5894 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002744/0.5849, allocations: 1.228 MB / 0.5906 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.585, allocations: 8 kB / 0.5906 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.5868, allocations: 444.8 kB / 0.591 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.5874, allocations: 175.7 kB / 0.5912 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.5889, allocations: 1.11 MB / 0.5923 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/0.5899, allocations: 99.89 kB / 0.5924 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.59, allocations: 39.98 kB / 0.5924 GB, free: 5.617 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.0006924/0.5907, allocations: 376.4 kB / 0.5928 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/0.5913, allocations: 79.06 kB / 0.5928 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.5966, allocations: 3.327 MB / 0.5961 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/0.5966, allocations: 39.94 kB / 0.5961 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5966, allocations: 0 / 0.5961 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003596/0.6002, allocations: 2.788 MB / 0.5989 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.6108, allocations: 4.565 MB / 0.6033 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.6109, allocations: 4 kB / 0.6033 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.612, allocations: 171.8 kB / 0.6035 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.6126, allocations: 100.7 kB / 0.6036 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.6127, allocations: 19.95 kB / 0.6036 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/0.6134, allocations: 0.6461 MB / 0.6042 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6134, allocations: 0 / 0.6042 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006605/0.62, allocations: 2.93 MB / 0.6071 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.6214, allocations: 454.2 kB / 0.6075 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.6219, allocations: 16 kB / 0.6075 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.6236, allocations: 91.88 kB / 0.6076 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.6239, allocations: 64.52 kB / 0.6077 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.902e-05/0.624, allocations: 24.56 kB / 0.6077 GB, free: 5.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.626, allocations: 0.7863 MB / 0.6085 GB, free: 4.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.626, allocations: 7.938 kB / 0.6085 GB, free: 4.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00869/0.6347, allocations: 1.632 MB / 0.6101 GB, free: 3.297 MB / 478.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.0103/0.6451, allocations: 1.582 MB / 0.6116 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.6513, allocations: 1.852 MB / 0.6134 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/0.6514, allocations: 0 / 0.6134 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.6536, allocations: 0.8918 MB / 0.6143 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/0.6576, allocations: 473 kB / 0.6148 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.6655, allocations: 3.723 MB / 0.6184 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.6671, allocations: 1.345 MB / 0.6197 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002697/0.6698, allocations: 0.8964 MB / 0.6206 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.6703, allocations: 83.42 kB / 0.6207 GB, free: 8.371 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6703, allocations: 3.938 kB / 0.6207 GB, free: 8.367 MB / 494.1 MB Notification: Performance of Templates: time 0.3148/0.9851, allocations: 57.86 MB / 0.6772 GB, free: 135.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) Environment - environmentSimulation: