Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001041/0.001041, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.474/1.474, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001592/0.001592, allocations: 98.39 kB / 218 MB, free: 15.34 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.1966/0.1966, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.43e-05, allocations: 4 kB / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3004, allocations: 48.69 MB / 398.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.494/7.794, allocations: 2.553 GB / 2.942 GB, free: 96.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/7.795, allocations: 76.06 kB / 2.942 GB, free: 96.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.011/9.805, allocations: 485.1 MB / 3.416 GB, free: 37.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/9.805, allocations: 1.094 kB / 3.416 GB, free: 37.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001328/9.806, allocations: 47.95 kB / 3.416 GB, free: 37.06 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01332/9.819, allocations: 2.929 MB / 3.419 GB, free: 36.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/9.819, allocations: 8.625 kB / 3.419 GB, free: 36.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/9.825, allocations: 0.6917 MB / 3.419 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/9.83, allocations: 1.578 MB / 3.421 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/9.83, allocations: 94.69 kB / 3.421 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/9.83, allocations: 100.3 kB / 3.421 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005023/9.835, allocations: 2.83 MB / 3.424 GB, free: 35.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/9.839, allocations: 2.878 MB / 3.427 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/9.839, allocations: 5.625 kB / 3.427 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/9.84, allocations: 9.734 kB / 3.427 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/9.84, allocations: 170.5 kB / 3.427 GB, free: 35.13 MB / 442.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.2675/10.11, allocations: 140.4 MB / 3.564 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/10.11, allocations: 1.569 MB / 3.565 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/10.11, allocations: 0.9762 MB / 3.566 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3973/10.51, allocations: 16.7 MB / 3.583 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002458/10.51, allocations: 1.145 MB / 3.584 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 3.317e-06/10.51, allocations: 0 / 3.584 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=159): time 0.01888/10.53, allocations: 7.395 MB / 3.591 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/10.53, allocations: 226 kB / 3.591 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/10.53, allocations: 0.9285 MB / 3.592 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/10.53, allocations: 25.7 kB / 3.592 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/10.53, allocations: 0.8841 MB / 3.593 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/10.53, allocations: 0.5354 MB / 3.594 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/10.53, allocations: 1.438 kB / 3.594 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001507/10.53, allocations: 442.7 kB / 3.594 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/10.54, allocations: 1.128 MB / 3.595 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/10.54, allocations: 1.667 MB / 3.597 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005255/10.54, allocations: 1.995 MB / 3.599 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/10.54, allocations: 7.594 kB / 3.599 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.00885/10.55, allocations: 4.437 MB / 3.603 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001594/10.55, allocations: 6.277 MB / 3.609 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/10.55, allocations: 18.19 kB / 3.609 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009277/10.56, allocations: 2.743 MB / 3.612 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/10.56, allocations: 334.6 kB / 3.612 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/10.57, allocations: 4.248 MB / 3.616 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/10.57, allocations: 254 kB / 3.617 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/10.57, allocations: 104 kB / 3.617 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10.57, allocations: 3.312 kB / 3.617 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008204/10.58, allocations: 3.878 MB / 3.62 GB, free: 81.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/10.58, allocations: 13.88 kB / 3.62 GB, free: 81.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007033/10.59, allocations: 2.125 MB / 3.622 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/10.59, allocations: 368.6 kB / 3.623 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/10.59, allocations: 3.246 MB / 3.626 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/10.6, allocations: 218.8 kB / 3.626 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/10.6, allocations: 104.1 kB / 3.626 GB, free: 80.47 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.0006865/10.6, allocations: 162.8 kB / 3.626 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/10.6, allocations: 144.8 kB / 3.627 GB, free: 80.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/10.6, allocations: 5.656 MB / 3.632 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/10.6, allocations: 67.69 kB / 3.632 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/10.6, allocations: 0 / 3.632 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006045/10.61, allocations: 5.118 MB / 3.637 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/10.62, allocations: 8.408 MB / 3.645 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/10.62, allocations: 0 / 3.645 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/10.62, allocations: 396.3 kB / 3.646 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/10.63, allocations: 419.2 kB / 3.646 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/10.63, allocations: 36.8 kB / 3.646 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/10.63, allocations: 3.355 MB / 3.649 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/10.63, allocations: 1.469 kB / 3.649 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008194/10.64, allocations: 6.248 MB / 3.656 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/10.64, allocations: 0.5522 MB / 3.656 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/10.64, allocations: 18.61 kB / 3.656 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/10.64, allocations: 172.5 kB / 3.656 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/10.64, allocations: 173 kB / 3.656 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/10.64, allocations: 63.67 kB / 3.657 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001249/10.64, allocations: 0.6548 MB / 3.657 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.41e-07/10.64, allocations: 0 / 3.657 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01124/10.65, allocations: 2.173 MB / 3.659 GB, free: 74.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse21.phase,$cse21.region,$cse27.phase,$cse27.region,$cse31.phase,$cse31.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01298/10.67, allocations: 2.062 MB / 3.661 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009644/10.68, allocations: 4.832 MB / 3.666 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/10.68, allocations: 5.375 kB / 3.666 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/10.68, allocations: 2.075 MB / 3.668 GB, free: 74.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/10.68, allocations: 0.5583 MB / 3.669 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/10.69, allocations: 5.075 MB / 3.674 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/10.69, allocations: 1.914 MB / 3.675 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004025/10.7, allocations: 1.698 MB / 3.677 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/10.7, allocations: 129.1 kB / 3.677 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/10.7, allocations: 3.406 kB / 3.677 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.4099/11.11, allocations: 71.39 MB / 3.747 GB, free: 97.74 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1)