Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001129/0.00113, allocations: 182.4 kB / 12.74 MB, free: 2.582 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.607/1.607, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001569/0.001569, allocations: 117.2 kB / 252.6 MB, free: 4.812 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.2044/0.2044, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.392e-05, allocations: 3.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09499, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.445/5.54, allocations: 2.655 GB / 3.1 GB, free: 78.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/5.54, allocations: 79.95 kB / 3.1 GB, free: 78.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.406/7.947, allocations: 0.5734 GB / 3.673 GB, free: 32.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/7.947, allocations: 0 / 3.673 GB, free: 32.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001545/7.947, allocations: 46.41 kB / 3.673 GB, free: 32.2 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.01338/7.96, allocations: 2.846 MB / 3.676 GB, free: 30.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/7.96, allocations: 10.34 kB / 3.676 GB, free: 30.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/7.965, allocations: 0.5366 MB / 3.677 GB, free: 30.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/7.969, allocations: 1.448 MB / 3.678 GB, free: 29.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/7.969, allocations: 106.2 kB / 3.678 GB, free: 29.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/7.97, allocations: 127.7 kB / 3.678 GB, free: 29.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/7.975, allocations: 2.272 MB / 3.681 GB, free: 28.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/7.975, allocations: 3.719 kB / 3.681 GB, free: 28.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/7.975, allocations: 50.17 kB / 3.681 GB, free: 28.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/7.975, allocations: 103.7 kB / 3.681 GB, free: 28.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/7.979, allocations: 1.964 MB / 3.683 GB, free: 28.01 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.01219/7.991, allocations: 9.646 MB / 3.692 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/7.994, allocations: 1.327 MB / 3.693 GB, free: 20.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/7.995, allocations: 0.6163 MB / 3.694 GB, free: 19.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03363/8.028, allocations: 18.85 MB / 3.712 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002668/8.031, allocations: 1.036 MB / 3.713 GB, free: 4.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.318e-06/8.031, allocations: 0 / 3.713 GB, free: 4.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=104): time 0.01061/8.042, allocations: 4.376 MB / 3.718 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/8.042, allocations: 277.8 kB / 3.718 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/8.043, allocations: 0.9672 MB / 3.719 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/8.043, allocations: 45.7 kB / 3.719 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/8.044, allocations: 0.6599 MB / 3.72 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/8.045, allocations: 357.5 kB / 3.72 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/8.045, allocations: 24 kB / 3.72 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002006/8.045, allocations: 358.1 kB / 3.72 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/8.046, allocations: 0.6106 MB / 3.721 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/8.047, allocations: 0.9408 MB / 3.722 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/8.048, allocations: 0.766 MB / 3.723 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/8.048, allocations: 4 kB / 3.723 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003316/8.052, allocations: 1.859 MB / 3.724 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001738/8.053, allocations: 3.278 MB / 3.728 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/8.053, allocations: 11.38 kB / 3.728 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/8.054, allocations: 128.7 kB / 3.728 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/8.055, allocations: 323 kB / 3.728 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/8.056, allocations: 1.258 MB / 3.729 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/8.058, allocations: 162 kB / 3.729 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/8.058, allocations: 63.19 kB / 3.729 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/8.058, allocations: 4 kB / 3.729 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003188/8.062, allocations: 1.689 MB / 3.731 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/8.062, allocations: 8 kB / 3.731 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/8.062, allocations: 126.7 kB / 3.731 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/8.063, allocations: 325.6 kB / 3.732 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/8.065, allocations: 1.252 MB / 3.733 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/8.067, allocations: 156.3 kB / 3.733 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/8.067, allocations: 63.09 kB / 3.733 GB, free: 1.316 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,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.0007008/8.067, allocations: 223.5 kB / 3.733 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/8.068, allocations: 134.4 kB / 3.733 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4854/8.553, allocations: 4.841 MB / 3.738 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/8.553, allocations: 59.97 kB / 3.738 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/8.553, allocations: 0 / 3.738 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004593/8.558, allocations: 3.906 MB / 3.742 GB, free: 48.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009301/8.567, allocations: 6.644 MB / 3.748 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/8.567, allocations: 3.719 kB / 3.748 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/8.568, allocations: 249.8 kB / 3.749 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006342/8.569, allocations: 175.1 kB / 3.749 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/8.569, allocations: 39.05 kB / 3.749 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/8.57, allocations: 1.292 MB / 3.75 GB, free: 47.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/8.57, allocations: 0 / 3.75 GB, free: 47.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/8.576, allocations: 4.156 MB / 3.754 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/8.578, allocations: 0.523 MB / 3.755 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/8.578, allocations: 37.05 kB / 3.755 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/8.579, allocations: 122 kB / 3.755 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/8.58, allocations: 92.39 kB / 3.755 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/8.58, allocations: 44.47 kB / 3.755 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0023/8.582, allocations: 0.8539 MB / 3.756 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.582, allocations: 0 / 3.756 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01586/8.598, allocations: 2.179 MB / 3.758 GB, free: 46.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 36 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 15 * 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.01617/8.614, allocations: 2.382 MB / 3.76 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007539/8.622, allocations: 3.094 MB / 3.763 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/8.622, allocations: 0 / 3.763 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/8.624, allocations: 1.423 MB / 3.765 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/8.629, allocations: 0.5745 MB / 3.765 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2186/8.848, allocations: 125.5 MB / 3.888 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/8.849, allocations: 1.722 MB / 3.889 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00376/8.853, allocations: 1.689 MB / 3.891 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/8.853, allocations: 111.2 kB / 3.891 GB, free: 17 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/8.853, allocations: 1.5 kB / 3.891 GB, free: 17 MB / 0.4948 GB Notification: Performance of Templates: time 0.5846/9.438, allocations: 65.71 MB / 3.955 GB, free: 58.83 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1)