Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.002023/0.002023, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.65/1.65, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.48 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2601/0.2601, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.938e-05/4.96e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1889, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.049/2.238, allocations: 0.5614 GB / 1.063 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/2.238, allocations: 75.34 kB / 1.063 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.875/5.113, allocations: 0.5061 GB / 1.569 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/5.113, allocations: 0 / 1.569 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005312/5.113, allocations: 68.67 kB / 1.569 GB, free: 51.36 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.01598/5.129, allocations: 2.808 MB / 1.572 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.134e-05/5.129, allocations: 10 kB / 1.572 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/5.132, allocations: 240.8 kB / 1.572 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005535/5.137, allocations: 446.8 kB / 1.573 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/5.148, allocations: 1.931 MB / 1.575 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/5.148, allocations: 128 kB / 1.575 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/5.149, allocations: 167.7 kB / 1.575 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00967/5.159, allocations: 2.608 MB / 1.578 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/5.159, allocations: 6.953 kB / 1.578 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008463/5.16, allocations: 74.48 kB / 1.578 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/5.161, allocations: 152.3 kB / 1.578 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005965/5.167, allocations: 2.201 MB / 1.58 GB, free: 49.43 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.02234/5.189, allocations: 11.02 MB / 1.591 GB, free: 43.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/5.192, allocations: 1.776 MB / 1.592 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/5.194, allocations: 1.049 MB / 1.593 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/5.195, allocations: 0.5085 MB / 1.594 GB, free: 42.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002626/5.198, allocations: 1.281 MB / 1.595 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 1.141e-05/5.198, allocations: 0 / 1.595 GB, free: 42.63 MB / 0.5417 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02625/5.224, allocations: 8.689 MB / 1.604 GB, free: 41.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/5.224, allocations: 362.4 kB / 1.604 GB, free: 41.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/5.228, allocations: 1.403 MB / 1.605 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/5.228, allocations: 62.55 kB / 1.605 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/5.23, allocations: 0.8682 MB / 1.606 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/5.23, allocations: 0.6214 MB / 1.607 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/5.23, allocations: 37.94 kB / 1.607 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000183/5.231, allocations: 383.6 kB / 1.607 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/5.232, allocations: 1.006 MB / 1.608 GB, free: 39.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/5.235, allocations: 1.439 MB / 1.61 GB, free: 39.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/5.237, allocations: 1.272 MB / 1.611 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/5.237, allocations: 0 / 1.611 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006083/5.243, allocations: 3.081 MB / 1.614 GB, free: 39.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/5.245, allocations: 3.772 MB / 1.618 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/5.245, allocations: 10.25 kB / 1.618 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005386/5.245, allocations: 193.1 kB / 1.618 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/5.247, allocations: 0.5409 MB / 1.618 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/5.249, allocations: 2.324 MB / 1.621 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/5.252, allocations: 221.2 kB / 1.621 GB, free: 33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/5.252, allocations: 190.5 kB / 1.621 GB, free: 33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/5.253, allocations: 3.25 kB / 1.621 GB, free: 33 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005267/5.258, allocations: 2.807 MB / 1.624 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/5.258, allocations: 7.438 kB / 1.624 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/5.258, allocations: 188.5 kB / 1.624 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/5.261, allocations: 0.5377 MB / 1.624 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/5.262, allocations: 2.328 MB / 1.627 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/5.265, allocations: 215.4 kB / 1.627 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/5.265, allocations: 185.9 kB / 1.627 GB, free: 30.74 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.0009377/5.266, allocations: 295 kB / 1.627 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008327/5.267, allocations: 217.4 kB / 1.628 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009522/5.277, allocations: 4.598 MB / 1.632 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/5.277, allocations: 21.88 kB / 1.632 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/5.277, allocations: 0 / 1.632 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00424/5.281, allocations: 2.738 MB / 1.635 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/5.297, allocations: 6.995 MB / 1.642 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/5.297, allocations: 10.19 kB / 1.642 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/5.299, allocations: 434 kB / 1.642 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/5.3, allocations: 192.7 kB / 1.642 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/5.3, allocations: 102.2 kB / 1.642 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/5.302, allocations: 3.061 MB / 1.645 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/5.302, allocations: 15.58 kB / 1.645 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/5.31, allocations: 4.722 MB / 1.65 GB, free: 23.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/5.312, allocations: 0.539 MB / 1.65 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/5.313, allocations: 64.09 kB / 1.65 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/5.316, allocations: 133.1 kB / 1.651 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/5.316, allocations: 178.5 kB / 1.651 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004327/5.317, allocations: 167 kB / 1.651 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002913/5.32, allocations: 1.088 MB / 1.652 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/5.32, allocations: 0 / 1.652 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01077/5.33, allocations: 1.793 MB / 1.654 GB, free: 23.19 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) * 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.01924/5.35, allocations: 9.042 MB / 1.663 GB, free: 35.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01022/5.36, allocations: 4.317 MB / 1.667 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/5.36, allocations: 6.312 kB / 1.667 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/5.363, allocations: 1.503 MB / 1.668 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/5.37, allocations: 0.9862 MB / 1.669 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/5.387, allocations: 4.973 MB / 1.674 GB, free: 33.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/5.391, allocations: 1.72 MB / 1.676 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009903/5.401, allocations: 3.23 MB / 1.679 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/5.403, allocations: 1.001 MB / 1.68 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of SimCode: time 2.013e-06/5.403, allocations: 0 / 1.68 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7447/6.148, allocations: 101.2 MB / 1.779 GB, free: 75.11 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/6.149, allocations: 231.5 kB / 1.779 GB, free: 74.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.072/12.22, allocations: 0 / 1.779 GB, free: 74.8 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)