Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 181.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 97.78 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3943/0.3943, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3774, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.568, allocations: 0.5614 GB / 1.071 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.568, allocations: 82.94 kB / 1.071 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.134/3.702, allocations: 0.5072 GB / 1.578 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/3.702, allocations: 3.375 kB / 1.578 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005074/3.703, allocations: 58.98 kB / 1.578 GB, free: 44.31 MB / 0.5261 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.01665/3.719, allocations: 3.108 MB / 1.581 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/3.72, allocations: 11.69 kB / 1.581 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/3.721, allocations: 253.2 kB / 1.582 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/3.726, allocations: 443.5 kB / 1.582 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008426/3.734, allocations: 1.953 MB / 1.584 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/3.735, allocations: 134.2 kB / 1.584 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009549/3.736, allocations: 168.2 kB / 1.584 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006673/3.742, allocations: 2.644 MB / 1.587 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/3.743, allocations: 5.375 kB / 1.587 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/3.743, allocations: 76.89 kB / 1.587 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/3.743, allocations: 151.5 kB / 1.587 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006361/3.75, allocations: 2.271 MB / 1.589 GB, free: 41.66 MB / 0.5261 GB 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.02506/3.775, allocations: 11.02 MB / 1.6 GB, free: 35.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/3.779, allocations: 1.816 MB / 1.602 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/3.78, allocations: 0.506 MB / 1.602 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00344/3.784, allocations: 1.308 MB / 1.604 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 6.983e-06/3.784, allocations: 3.406 kB / 1.604 GB, free: 34.79 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.04505/3.829, allocations: 11.21 MB / 1.615 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/3.829, allocations: 369 kB / 1.615 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/3.834, allocations: 1.418 MB / 1.616 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007838/3.835, allocations: 64.2 kB / 1.616 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/3.836, allocations: 0.8642 MB / 1.617 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/3.837, allocations: 0.6214 MB / 1.618 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000478/3.838, allocations: 39.41 kB / 1.618 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002104/3.838, allocations: 385.2 kB / 1.618 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/3.84, allocations: 1.049 MB / 1.619 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/3.843, allocations: 1.483 MB / 1.621 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/3.845, allocations: 1.318 MB / 1.622 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/3.845, allocations: 7.125 kB / 1.622 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006553/3.852, allocations: 3.172 MB / 1.625 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009553/3.853, allocations: 3.77 MB / 1.629 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/3.853, allocations: 12.81 kB / 1.629 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/3.853, allocations: 197.8 kB / 1.629 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/3.856, allocations: 0.5362 MB / 1.63 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/3.857, allocations: 2.334 MB / 1.632 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/3.86, allocations: 215.4 kB / 1.632 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005945/3.861, allocations: 190.4 kB / 1.632 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/3.861, allocations: 6.031 kB / 1.632 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005927/3.867, allocations: 2.892 MB / 1.635 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/3.867, allocations: 11.22 kB / 1.635 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/3.867, allocations: 194.6 kB / 1.635 GB, free: 21.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/3.869, allocations: 0.5276 MB / 1.636 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/3.871, allocations: 2.329 MB / 1.638 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/3.873, allocations: 211.8 kB / 1.638 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/3.874, allocations: 185.1 kB / 1.638 GB, free: 19.56 MB / 0.5261 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 () * Number of clocked 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.001902/3.876, allocations: 0.6874 MB / 1.639 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007563/3.876, allocations: 211.6 kB / 1.639 GB, free: 19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00956/3.886, allocations: 4.675 MB / 1.644 GB, free: 17.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/3.886, allocations: 20.06 kB / 1.644 GB, free: 17.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/3.886, allocations: 3.953 kB / 1.644 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004259/3.89, allocations: 2.801 MB / 1.647 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/3.904, allocations: 7.048 MB / 1.653 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/3.904, allocations: 8 kB / 1.654 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/3.906, allocations: 438.5 kB / 1.654 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/3.906, allocations: 188.8 kB / 1.654 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/3.907, allocations: 101.9 kB / 1.654 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/3.909, allocations: 3.077 MB / 1.657 GB, free: 24.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/3.909, allocations: 15.36 kB / 1.657 GB, free: 24.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007337/3.916, allocations: 4.815 MB / 1.662 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/3.918, allocations: 0.5389 MB / 1.662 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008681/3.919, allocations: 63.89 kB / 1.663 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/3.922, allocations: 127.9 kB / 1.663 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/3.922, allocations: 173.7 kB / 1.663 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003391/3.922, allocations: 161.9 kB / 1.663 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002298/3.925, allocations: 1.11 MB / 1.664 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/3.925, allocations: 0 / 1.664 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008169/3.933, allocations: 1.799 MB / 1.666 GB, free: 16.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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.01632/3.949, allocations: 9.137 MB / 1.675 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01068/3.96, allocations: 4.365 MB / 1.679 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/3.96, allocations: 3.531 kB / 1.679 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/3.963, allocations: 1.545 MB / 1.68 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/3.969, allocations: 0.9684 MB / 1.681 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/3.99, allocations: 13.75 MB / 1.695 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/3.993, allocations: 1.732 MB / 1.697 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008985/4.002, allocations: 3.038 MB / 1.7 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/4.005, allocations: 1.024 MB / 1.701 GB, free: 444 kB / 0.5573 GB Notification: Performance of SimCode: time 9.61e-07/4.005, allocations: 0 / 1.701 GB, free: 444 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5387/4.544, allocations: 93.79 MB / 1.792 GB, free: 66.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/4.544, allocations: 258.9 kB / 1.792 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/10.13, allocations: 8 kB / 1.792 GB, free: 65.77 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)