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.005451/0.005451, allocations: 162.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.176/1.176, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001625/0.001626, allocations: 113.4 kB / 226.2 MB, free: 10.1 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.3016/0.3016, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/5.978, allocations: 2.545 GB / 2.947 GB, free: 65.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/5.978, allocations: 82.08 kB / 2.947 GB, free: 65.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.875/7.853, allocations: 0.5613 GB / 3.508 GB, free: 10.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/7.853, allocations: 0 / 3.508 GB, free: 10.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001377/7.853, allocations: 42.52 kB / 3.508 GB, free: 10.52 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.01095/7.864, allocations: 2.968 MB / 3.511 GB, free: 7.535 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/7.864, allocations: 8.031 kB / 3.511 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/7.868, allocations: 0.5181 MB / 3.512 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/7.872, allocations: 1.445 MB / 3.513 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/7.872, allocations: 112.4 kB / 3.513 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/7.872, allocations: 130.2 kB / 3.513 GB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/7.876, allocations: 2.282 MB / 3.516 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/7.876, allocations: 4 kB / 3.516 GB, free: 2.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/7.876, allocations: 53 kB / 3.516 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/7.876, allocations: 106.2 kB / 3.516 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/7.88, allocations: 2.05 MB / 3.518 GB, free: 0.6953 MB / 442.7 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.01187/7.892, allocations: 9.639 MB / 3.527 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/7.895, allocations: 1.379 MB / 3.529 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3136/8.209, allocations: 18.76 MB / 3.547 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004259/8.213, allocations: 1.029 MB / 3.548 GB, free: 26.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 5.18e-06/8.213, allocations: 0 / 3.548 GB, free: 26.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.02068/8.234, allocations: 5.158 MB / 3.553 GB, free: 25.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/8.234, allocations: 274.6 kB / 3.553 GB, free: 25.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/8.237, allocations: 0.9848 MB / 3.554 GB, free: 25.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/8.237, allocations: 48.89 kB / 3.554 GB, free: 25.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/8.238, allocations: 0.6532 MB / 3.555 GB, free: 24.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/8.238, allocations: 354.6 kB / 3.555 GB, free: 24.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/8.238, allocations: 27.73 kB / 3.555 GB, free: 24.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/8.238, allocations: 355.2 kB / 3.556 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/8.24, allocations: 0.6783 MB / 3.556 GB, free: 24.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/8.242, allocations: 1.009 MB / 3.557 GB, free: 23.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/8.245, allocations: 0.8231 MB / 3.558 GB, free: 23.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/8.245, allocations: 3.844 kB / 3.558 GB, free: 23.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005609/8.25, allocations: 2.018 MB / 3.56 GB, free: 23.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007798/8.251, allocations: 3.279 MB / 3.563 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/8.251, allocations: 9 kB / 3.563 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/8.252, allocations: 141.7 kB / 3.563 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/8.254, allocations: 324.2 kB / 3.564 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009751/8.255, allocations: 1.255 MB / 3.565 GB, free: 19.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/8.257, allocations: 157.7 kB / 3.565 GB, free: 19.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/8.257, allocations: 62.58 kB / 3.565 GB, free: 19.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/8.258, allocations: 3.094 kB / 3.565 GB, free: 19.32 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004978/8.262, allocations: 1.841 MB / 3.567 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/8.263, allocations: 8.281 kB / 3.567 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/8.263, allocations: 146.4 kB / 3.567 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/8.265, allocations: 322.3 kB / 3.567 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/8.266, allocations: 1.252 MB / 3.569 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/8.269, allocations: 156.8 kB / 3.569 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/8.269, allocations: 65.41 kB / 3.569 GB, free: 18.19 MB / 458.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,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,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked 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.001717/8.271, allocations: 0.5374 MB / 3.569 GB, free: 17.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/8.271, allocations: 131 kB / 3.569 GB, free: 17.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009999/8.281, allocations: 4.761 MB / 3.574 GB, free: 17.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/8.281, allocations: 49.53 kB / 3.574 GB, free: 17.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/8.281, allocations: 3.953 kB / 3.574 GB, free: 17.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008121/8.289, allocations: 3.983 MB / 3.578 GB, free: 17.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/8.303, allocations: 6.739 MB / 3.585 GB, free: 16.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/8.304, allocations: 0 / 3.585 GB, free: 16.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/8.305, allocations: 245 kB / 3.585 GB, free: 16.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/8.306, allocations: 190.8 kB / 3.585 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/8.306, allocations: 39.48 kB / 3.585 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/8.307, allocations: 1.29 MB / 3.586 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/8.308, allocations: 0.6094 kB / 3.586 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/8.318, allocations: 4.362 MB / 3.591 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/8.32, allocations: 0.5283 MB / 3.591 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006882/8.321, allocations: 37.64 kB / 3.591 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/8.323, allocations: 114.9 kB / 3.591 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/8.323, allocations: 89.5 kB / 3.591 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/8.323, allocations: 40.69 kB / 3.591 GB, free: 14.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002673/8.326, allocations: 0.871 MB / 3.592 GB, free: 14.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/8.326, allocations: 0 / 3.592 GB, free: 14.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01162/8.338, allocations: 2.174 MB / 3.594 GB, free: 14.62 MB / 458.7 MB 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: 35 ($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) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * 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.01325/8.351, allocations: 2.359 MB / 3.597 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/8.357, allocations: 3.177 MB / 3.6 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/8.357, allocations: 3.906 kB / 3.6 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/8.36, allocations: 1.458 MB / 3.601 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/8.363, allocations: 0.5732 MB / 3.602 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4835/8.846, allocations: 125.3 MB / 3.724 GB, free: 47.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/8.848, allocations: 1.72 MB / 3.726 GB, free: 46.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003166/8.851, allocations: 1.574 MB / 3.727 GB, free: 46.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/8.851, allocations: 126.2 kB / 3.727 GB, free: 46.68 MB / 474.7 MB Notification: Performance of SimCode: time 2.625e-06/8.851, allocations: 2.406 kB / 3.727 GB, free: 46.68 MB / 474.7 MB Notification: Performance of Templates: time 0.08986/8.941, allocations: 61.25 MB / 3.787 GB, free: 44.05 MB / 474.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)