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.001083/0.001083, allocations: 179.6 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.521/1.521, 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.001149/0.001149, allocations: 95.53 kB / 287 MB, free: 236 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.2522/0.2522, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.58e-05, allocations: 0 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.952/2.12, allocations: 0.5614 GB / 1.063 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/2.121, allocations: 78.33 kB / 1.063 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.829/4.95, allocations: 0.5061 GB / 1.569 GB, free: 51.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.775e-06/4.95, allocations: 0 / 1.569 GB, free: 51.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003117/4.95, allocations: 63.23 kB / 1.569 GB, free: 51.67 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.01534/4.965, allocations: 2.809 MB / 1.572 GB, free: 50.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/4.966, allocations: 15.03 kB / 1.572 GB, free: 50.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001159/4.967, allocations: 247.3 kB / 1.572 GB, free: 50.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/4.971, allocations: 435.3 kB / 1.573 GB, free: 50.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006789/4.977, allocations: 1.933 MB / 1.575 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/4.978, allocations: 138.8 kB / 1.575 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006327/4.978, allocations: 164 kB / 1.575 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/4.984, allocations: 2.597 MB / 1.577 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/4.984, allocations: 1.5 kB / 1.577 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/4.985, allocations: 75.72 kB / 1.578 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/4.985, allocations: 156.7 kB / 1.578 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/4.989, allocations: 2.202 MB / 1.58 GB, free: 49.73 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.01666/5.006, allocations: 11.03 MB / 1.591 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/5.009, allocations: 1.765 MB / 1.592 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/5.01, allocations: 1.05 MB / 1.593 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/5.011, allocations: 0.5137 MB / 1.594 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/5.013, allocations: 1.268 MB / 1.595 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 7.414e-06/5.013, allocations: 0 / 1.595 GB, free: 42.93 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.02432/5.038, allocations: 8.699 MB / 1.604 GB, free: 41.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/5.038, allocations: 363.6 kB / 1.604 GB, free: 41.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/5.04, allocations: 1.405 MB / 1.605 GB, free: 41.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/5.041, allocations: 62.83 kB / 1.605 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/5.041, allocations: 0.8585 MB / 1.606 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006401/5.042, allocations: 0.627 MB / 1.607 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/5.042, allocations: 41.47 kB / 1.607 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001527/5.042, allocations: 385.2 kB / 1.607 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/5.044, allocations: 1 MB / 1.608 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/5.046, allocations: 1.446 MB / 1.61 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/5.047, allocations: 1.267 MB / 1.611 GB, free: 39.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/5.048, allocations: 3.938 kB / 1.611 GB, free: 39.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005327/5.053, allocations: 3.078 MB / 1.614 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/5.054, allocations: 3.771 MB / 1.618 GB, free: 35.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/5.054, allocations: 12.06 kB / 1.618 GB, free: 35.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/5.055, allocations: 190.9 kB / 1.618 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/5.057, allocations: 0.5413 MB / 1.618 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/5.058, allocations: 2.326 MB / 1.621 GB, free: 33.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/5.062, allocations: 215.9 kB / 1.621 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005009/5.062, allocations: 186.3 kB / 1.621 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/5.062, allocations: 6.406 kB / 1.621 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005444/5.068, allocations: 2.804 MB / 1.624 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/5.068, allocations: 11.53 kB / 1.624 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/5.068, allocations: 190.6 kB / 1.624 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/5.07, allocations: 0.5362 MB / 1.624 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/5.072, allocations: 2.323 MB / 1.627 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/5.075, allocations: 211.2 kB / 1.627 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/5.075, allocations: 190.9 kB / 1.627 GB, free: 31.04 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.001261/5.076, allocations: 287 kB / 1.627 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/5.078, allocations: 218.2 kB / 1.628 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/5.089, allocations: 4.607 MB / 1.632 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/5.089, allocations: 19.25 kB / 1.632 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/5.089, allocations: 6.609 kB / 1.632 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004386/5.093, allocations: 2.745 MB / 1.635 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/5.108, allocations: 6.995 MB / 1.642 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/5.108, allocations: 12.12 kB / 1.642 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/5.11, allocations: 431.6 kB / 1.642 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/5.11, allocations: 187.2 kB / 1.642 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/5.111, allocations: 104.6 kB / 1.642 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/5.112, allocations: 3.069 MB / 1.645 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/5.113, allocations: 7.812 kB / 1.645 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/5.12, allocations: 4.723 MB / 1.65 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/5.122, allocations: 0.5423 MB / 1.65 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/5.124, allocations: 57.53 kB / 1.65 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/5.126, allocations: 132 kB / 1.651 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/5.127, allocations: 175.4 kB / 1.651 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004285/5.127, allocations: 164.8 kB / 1.651 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00273/5.13, allocations: 1.086 MB / 1.652 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/5.13, allocations: 0 / 1.652 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01053/5.14, allocations: 1.789 MB / 1.654 GB, free: 23.49 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.01751/5.158, allocations: 9.059 MB / 1.663 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01122/5.169, allocations: 4.317 MB / 1.667 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.701e-05/5.169, allocations: 4.438 kB / 1.667 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003392/5.173, allocations: 1.505 MB / 1.668 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007529/5.18, allocations: 0.9809 MB / 1.669 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/5.201, allocations: 4.977 MB / 1.674 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/5.205, allocations: 1.724 MB / 1.676 GB, free: 33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01218/5.217, allocations: 3.22 MB / 1.679 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003847/5.221, allocations: 0.9986 MB / 1.68 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of SimCode: time 2.305e-06/5.221, allocations: 0 / 1.68 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7689/5.99, allocations: 101.2 MB / 1.779 GB, free: 75.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/5.99, allocations: 234.2 kB / 1.779 GB, free: 75.14 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/12.09, allocations: 0.9375 kB / 1.779 GB, free: 75.14 MB / 0.573 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)