Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009155/0.0009156, allocations: 92.33 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.392e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1642, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.943/2.107, allocations: 0.5617 GB / 1.066 GB, free: 82.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004053/2.108, allocations: 79.83 kB / 1.066 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.566/4.674, allocations: 0.5026 GB / 1.569 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/4.674, allocations: 0 / 1.569 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002432/4.674, allocations: 61.75 kB / 1.569 GB, free: 49.43 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01129/4.685, allocations: 2.819 MB / 1.572 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/4.685, allocations: 7.469 kB / 1.572 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/4.689, allocations: 440.8 kB / 1.572 GB, free: 48.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/4.696, allocations: 1.934 MB / 1.574 GB, free: 48.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/4.696, allocations: 54.66 kB / 1.574 GB, free: 48.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/4.696, allocations: 101.9 kB / 1.574 GB, free: 48.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00385/4.7, allocations: 2.128 MB / 1.576 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/4.705, allocations: 2.375 MB / 1.579 GB, free: 47.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.904e-05/4.705, allocations: 13.22 kB / 1.579 GB, free: 47.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/4.705, allocations: 11.09 kB / 1.579 GB, free: 47.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/4.706, allocations: 155.4 kB / 1.579 GB, free: 47.68 MB / 0.5417 GB 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.02296/4.729, allocations: 11.18 MB / 1.59 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/4.732, allocations: 1.728 MB / 1.591 GB, free: 41.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/4.734, allocations: 0.9789 MB / 1.592 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/4.735, allocations: 0.5053 MB / 1.593 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/4.737, allocations: 1.158 MB / 1.594 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=153): time 3.206e-06/4.737, allocations: 0 / 1.594 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=176): time 0.03993/4.777, allocations: 9.062 MB / 1.603 GB, free: 39.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/4.777, allocations: 358.6 kB / 1.603 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/4.78, allocations: 1.076 MB / 1.604 GB, free: 39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005139/4.781, allocations: 29.61 kB / 1.604 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/4.782, allocations: 0.9024 MB / 1.605 GB, free: 38.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009124/4.783, allocations: 0.5684 MB / 1.606 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/4.784, allocations: 3.562 kB / 1.606 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002398/4.784, allocations: 388.3 kB / 1.606 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/4.786, allocations: 0.9829 MB / 1.607 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/4.788, allocations: 1.407 MB / 1.608 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009731/4.798, allocations: 2.183 MB / 1.61 GB, free: 37.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-05/4.798, allocations: 3.781 kB / 1.61 GB, free: 37.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01621/4.814, allocations: 3.865 MB / 1.614 GB, free: 37.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/4.815, allocations: 3.706 MB / 1.618 GB, free: 33.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.584e-05/4.815, allocations: 7.875 kB / 1.618 GB, free: 33.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/4.816, allocations: 177.4 kB / 1.618 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/4.819, allocations: 0.5367 MB / 1.619 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/4.82, allocations: 2.348 MB / 1.621 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/4.824, allocations: 182.9 kB / 1.621 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009232/4.825, allocations: 188 kB / 1.621 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/4.825, allocations: 3.75 kB / 1.621 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01436/4.84, allocations: 3.378 MB / 1.624 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-05/4.84, allocations: 11.16 kB / 1.624 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/4.84, allocations: 170.2 kB / 1.625 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/4.843, allocations: 0.5288 MB / 1.625 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/4.844, allocations: 2.337 MB / 1.627 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/4.847, allocations: 166.8 kB / 1.628 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007506/4.848, allocations: 195.9 kB / 1.628 GB, free: 29.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001417/4.85, allocations: 222.7 kB / 1.628 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01388/4.863, allocations: 3.26 MB / 1.631 GB, free: 28.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/4.865, allocations: 194 kB / 1.631 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/4.883, allocations: 4.425 MB / 1.636 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/4.883, allocations: 16.59 kB / 1.636 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/4.883, allocations: 0 / 1.636 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01411/4.897, allocations: 3.488 MB / 1.639 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/4.923, allocations: 7.018 MB / 1.646 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/4.923, allocations: 7.594 kB / 1.646 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/4.925, allocations: 415.5 kB / 1.646 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/4.926, allocations: 170.9 kB / 1.647 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004982/4.926, allocations: 68.23 kB / 1.647 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/4.928, allocations: 3.033 MB / 1.65 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/4.928, allocations: 6 kB / 1.65 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/4.946, allocations: 5.225 MB / 1.655 GB, free: 23.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/4.948, allocations: 0.4988 MB / 1.655 GB, free: 22.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/4.95, allocations: 26.91 kB / 1.655 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/4.952, allocations: 98.97 kB / 1.655 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/4.953, allocations: 161.5 kB / 1.655 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004944/4.953, allocations: 156.2 kB / 1.656 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002237/4.956, allocations: 0.7944 MB / 1.656 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.41e-07/4.956, allocations: 3.875 kB / 1.656 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01084/4.967, allocations: 1.652 MB / 1.658 GB, free: 22.52 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02859/4.995, allocations: 9.498 MB / 1.667 GB, free: 35.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01193/5.007, allocations: 4.117 MB / 1.671 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/5.007, allocations: 5.156 kB / 1.671 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0036/5.011, allocations: 1.417 MB / 1.673 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/5.019, allocations: 0.782 MB / 1.673 GB, free: 34.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/5.039, allocations: 4.704 MB / 1.678 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/5.042, allocations: 1.723 MB / 1.68 GB, free: 32.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01176/5.054, allocations: 2.973 MB / 1.683 GB, free: 32.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/5.057, allocations: 0.9714 MB / 1.684 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.733e-06/5.057, allocations: 0 / 1.684 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/5.244, allocations: 77.94 MB / 1.76 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/5.244, allocations: 174.7 kB / 1.76 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.237/10.48, allocations: 6.734 kB / 1.76 GB, free: 1.676 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)