Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001303/0.001303, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.307/1.307, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001574/0.001574, allocations: 107.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1741/0.1741, allocations: 37.99 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.735e-05, allocations: 2.031 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08794, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.477/6.565, allocations: 2.544 GB / 2.934 GB, free: 59.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/6.565, allocations: 75.42 kB / 2.934 GB, free: 59.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374/8.939, allocations: 0.5549 GB / 3.489 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/8.939, allocations: 3.938 kB / 3.489 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001429/8.939, allocations: 43.94 kB / 3.489 GB, free: 0.9062 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01238/8.952, allocations: 2.772 MB / 3.491 GB, free: 14.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/8.952, allocations: 8.031 kB / 3.491 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/8.956, allocations: 0.5258 MB / 3.492 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/8.96, allocations: 1.427 MB / 3.493 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/8.961, allocations: 59.98 kB / 3.493 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/8.961, allocations: 72.34 kB / 3.493 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002849/8.964, allocations: 1.555 MB / 3.495 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/8.967, allocations: 1.762 MB / 3.497 GB, free: 8.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/8.967, allocations: 7.938 kB / 3.497 GB, free: 8.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/8.967, allocations: 4 kB / 3.497 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/8.967, allocations: 102.2 kB / 3.497 GB, free: 8.406 MB / 458.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.6469/9.614, allocations: 73.31 MB / 3.568 GB, free: 23.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/9.616, allocations: 0.918 MB / 3.569 GB, free: 23.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/9.617, allocations: 0.5483 MB / 3.57 GB, free: 23.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03722/9.654, allocations: 17.44 MB / 3.587 GB, free: 27.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/9.656, allocations: 0.7028 MB / 3.587 GB, free: 27.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=86): time 5.16e-06/9.656, allocations: 0 / 3.587 GB, free: 27.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01518/9.671, allocations: 4.674 MB / 3.592 GB, free: 26.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002674/9.671, allocations: 379.9 kB / 3.592 GB, free: 26.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/9.673, allocations: 0.795 MB / 3.593 GB, free: 26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/9.674, allocations: 25.7 kB / 3.593 GB, free: 25.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/9.674, allocations: 0.6958 MB / 3.594 GB, free: 25.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/9.675, allocations: 312.4 kB / 3.594 GB, free: 25.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/9.675, allocations: 0 / 3.594 GB, free: 25.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/9.675, allocations: 358.8 kB / 3.595 GB, free: 25.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/9.676, allocations: 0.5909 MB / 3.595 GB, free: 25.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/9.678, allocations: 0.9098 MB / 3.596 GB, free: 24.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/9.686, allocations: 1.758 MB / 3.598 GB, free: 24.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-05/9.686, allocations: 2.75 kB / 3.598 GB, free: 24.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.011/9.697, allocations: 2.775 MB / 3.6 GB, free: 24.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002171/9.699, allocations: 3.263 MB / 3.604 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/9.699, allocations: 8.312 kB / 3.604 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/9.7, allocations: 129.4 kB / 3.604 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/9.701, allocations: 323.2 kB / 3.604 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/9.703, allocations: 1.265 MB / 3.605 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/9.705, allocations: 173.7 kB / 3.605 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/9.705, allocations: 65.69 kB / 3.605 GB, free: 20.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/9.705, allocations: 7 kB / 3.605 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00956/9.715, allocations: 2.517 MB / 3.608 GB, free: 20.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.699e-05/9.715, allocations: 10.81 kB / 3.608 GB, free: 20.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/9.715, allocations: 123.8 kB / 3.608 GB, free: 20.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/9.717, allocations: 326.9 kB / 3.608 GB, free: 20.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/9.718, allocations: 1.262 MB / 3.61 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/9.72, allocations: 144.5 kB / 3.61 GB, free: 19.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/9.72, allocations: 64.03 kB / 3.61 GB, free: 19.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 16 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,pipe1.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007978/9.721, allocations: 183.2 kB / 3.61 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/9.722, allocations: 126.1 kB / 3.61 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/9.73, allocations: 3.77 MB / 3.614 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/9.73, allocations: 43.47 kB / 3.614 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/9.73, allocations: 0 / 3.614 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004867/9.735, allocations: 2.967 MB / 3.617 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/9.745, allocations: 5.242 MB / 3.622 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/9.746, allocations: 2.656 kB / 3.622 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009851/9.747, allocations: 201.1 kB / 3.622 GB, free: 17.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/9.747, allocations: 166.6 kB / 3.622 GB, free: 17.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/9.747, allocations: 31.67 kB / 3.622 GB, free: 17.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/9.749, allocations: 1.344 MB / 3.624 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/9.749, allocations: 0 / 3.624 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/9.756, allocations: 3.628 MB / 3.627 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/9.758, allocations: 492.6 kB / 3.628 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/9.758, allocations: 11.88 kB / 3.628 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/9.76, allocations: 98.84 kB / 3.628 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/9.76, allocations: 80.16 kB / 3.628 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/9.761, allocations: 36.81 kB / 3.628 GB, free: 15.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002157/9.763, allocations: 0.7943 MB / 3.629 GB, free: 15.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/9.763, allocations: 0 / 3.629 GB, free: 15.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0173/9.78, allocations: 2.091 MB / 3.631 GB, free: 15.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 25 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$whenCondition1,pipe1.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02035/9.8, allocations: 2.483 MB / 3.633 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008236/9.809, allocations: 2.81 MB / 3.636 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/9.809, allocations: 0.5 kB / 3.636 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/9.812, allocations: 1.194 MB / 3.637 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/9.817, allocations: 0.4976 MB / 3.637 GB, free: 15.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/9.827, allocations: 3.319 MB / 3.641 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/9.83, allocations: 1.637 MB / 3.642 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004704/9.834, allocations: 1.742 MB / 3.644 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/9.835, allocations: 103.2 kB / 3.644 GB, free: 13.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/9.835, allocations: 0 / 3.644 GB, free: 13.39 MB / 490.7 MB Notification: Performance of Templates: time 0.5132/10.35, allocations: 54.28 MB / 3.697 GB, free: 70.88 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1)