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.009914/0.009914, allocations: 166.5 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.774/1.774, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.002085/0.002085, allocations: 110.7 kB / 226.2 MB, free: 8.008 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.4694/0.4694, allocations: 38.04 MB / 303.7 MB, free: 25.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.000412, allocations: 16 kB / 362.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4248, allocations: 48.68 MB / 411.6 MB, free: 37.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.97/6.395, allocations: 2.553 GB / 2.955 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/6.395, allocations: 83.95 kB / 2.955 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.851/8.246, allocations: 490.9 MB / 3.435 GB, free: 33.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.637e-06/8.246, allocations: 0 / 3.435 GB, free: 33.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001422/8.246, allocations: 40.81 kB / 3.435 GB, free: 33.77 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.0164/8.263, allocations: 3.135 MB / 3.438 GB, free: 32.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/8.263, allocations: 7.188 kB / 3.438 GB, free: 32.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/8.269, allocations: 0.6924 MB / 3.438 GB, free: 32.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006146/8.275, allocations: 1.586 MB / 3.44 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/8.275, allocations: 170.5 kB / 3.44 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009587/8.276, allocations: 178.4 kB / 3.44 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008033/8.284, allocations: 3.579 MB / 3.444 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.754e-05/8.285, allocations: 14.69 kB / 3.444 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/8.285, allocations: 73.84 kB / 3.444 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/8.285, allocations: 175.9 kB / 3.444 GB, free: 30.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008013/8.293, allocations: 3.516 MB / 3.448 GB, free: 29.71 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.02068/8.314, allocations: 14.13 MB / 3.461 GB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/8.319, allocations: 2.271 MB / 3.464 GB, free: 18.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4464/8.765, allocations: 63.36 MB / 3.525 GB, free: 64.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004753/8.77, allocations: 1.724 MB / 3.527 GB, free: 64.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 4.498e-06/8.77, allocations: 2.812 kB / 3.527 GB, free: 64.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=174): time 0.02006/8.79, allocations: 9.444 MB / 3.536 GB, free: 62.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/8.79, allocations: 285.5 kB / 3.537 GB, free: 62.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/8.792, allocations: 1.193 MB / 3.538 GB, free: 62.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/8.792, allocations: 58.64 kB / 3.538 GB, free: 62.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/8.793, allocations: 0.8248 MB / 3.539 GB, free: 61.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/8.793, allocations: 0.5941 MB / 3.539 GB, free: 61.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/8.794, allocations: 45.16 kB / 3.539 GB, free: 61.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/8.794, allocations: 393.8 kB / 3.54 GB, free: 61.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/8.796, allocations: 1.282 MB / 3.541 GB, free: 61.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/8.799, allocations: 1.831 MB / 3.543 GB, free: 60.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/8.801, allocations: 1.507 MB / 3.544 GB, free: 60.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/8.801, allocations: 10.5 kB / 3.544 GB, free: 60.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.007606/8.809, allocations: 4.328 MB / 3.548 GB, free: 60.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001267/8.81, allocations: 6.273 MB / 3.554 GB, free: 54.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/8.81, allocations: 21.55 kB / 3.554 GB, free: 54.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/8.826, allocations: 3.647 MB / 3.558 GB, free: 53.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/8.827, allocations: 330.1 kB / 3.558 GB, free: 53.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/8.834, allocations: 4.056 MB / 3.562 GB, free: 53.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/8.836, allocations: 276.9 kB / 3.563 GB, free: 53.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/8.837, allocations: 107.9 kB / 3.563 GB, free: 53.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/8.837, allocations: 5.438 kB / 3.563 GB, free: 53.4 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006762/8.843, allocations: 3.938 MB / 3.567 GB, free: 53.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/8.843, allocations: 19.17 kB / 3.567 GB, free: 53.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009499/8.853, allocations: 2.428 MB / 3.569 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/8.855, allocations: 370.8 kB / 3.569 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/8.86, allocations: 3.342 MB / 3.573 GB, free: 52.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/8.862, allocations: 267.2 kB / 3.573 GB, free: 52.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/8.863, allocations: 105 kB / 3.573 GB, free: 52.72 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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 (source.medium.phase,$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,sink.state.phase,sink.medium.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 (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.001804/8.865, allocations: 0.6976 MB / 3.574 GB, free: 52.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/8.865, allocations: 163.9 kB / 3.574 GB, free: 52.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/8.876, allocations: 6.844 MB / 3.58 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/8.876, allocations: 74.55 kB / 3.581 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/8.876, allocations: 8.141 kB / 3.581 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006908/8.883, allocations: 5.496 MB / 3.586 GB, free: 51.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/8.896, allocations: 9.571 MB / 3.595 GB, free: 49.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/8.896, allocations: 2 kB / 3.595 GB, free: 49.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/8.898, allocations: 441.9 kB / 3.596 GB, free: 49.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/8.899, allocations: 482.3 kB / 3.596 GB, free: 49.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/8.9, allocations: 59.69 kB / 3.596 GB, free: 49.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/8.901, allocations: 3.215 MB / 3.599 GB, free: 46.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/8.901, allocations: 5.188 kB / 3.599 GB, free: 46.51 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/8.91, allocations: 7.137 MB / 3.606 GB, free: 43.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/8.911, allocations: 0.7701 MB / 3.607 GB, free: 43.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/8.912, allocations: 54.38 kB / 3.607 GB, free: 43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/8.913, allocations: 204.4 kB / 3.607 GB, free: 42.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/8.914, allocations: 184.2 kB / 3.607 GB, free: 42.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/8.914, allocations: 69.8 kB / 3.608 GB, free: 42.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001516/8.915, allocations: 1.239 MB / 3.609 GB, free: 42.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/8.915, allocations: 0.6562 kB / 3.609 GB, free: 42.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01044/8.926, allocations: 2.35 MB / 3.611 GB, free: 42.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 39 ($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,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.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,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.01099/8.937, allocations: 2.014 MB / 3.613 GB, free: 41.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/8.949, allocations: 5.488 MB / 3.618 GB, free: 40.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/8.949, allocations: 0 / 3.618 GB, free: 40.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003386/8.952, allocations: 2.372 MB / 3.621 GB, free: 39.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/8.956, allocations: 0.7809 MB / 3.621 GB, free: 39.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/8.972, allocations: 8.143 MB / 3.629 GB, free: 35.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/8.974, allocations: 2.053 MB / 3.631 GB, free: 34.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00633/8.98, allocations: 1.442 MB / 3.633 GB, free: 34.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008823/8.981, allocations: 160.2 kB / 3.633 GB, free: 34.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/8.981, allocations: 0 / 3.633 GB, free: 34.38 MB / 474.7 MB Notification: Performance of Templates: time 0.4257/9.407, allocations: 82.06 MB / 3.713 GB, free: 62.68 MB / 474.7 MB 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)