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.001663/0.001662, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.4/1.4, allocations: 223.2 MB / 241 MB, free: 11.89 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.00101/0.00101, allocations: 85.31 kB / 292.1 MB, free: 10.92 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.3776/0.3776, allocations: 44.23 MB / 387.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 8 kB / 460 MB, free: 1.688 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3577, allocations: 61.91 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.501, allocations: 0.5614 GB / 1.071 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.501, allocations: 86.73 kB / 1.071 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.112/3.613, allocations: 0.5073 GB / 1.578 GB, free: 60.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.525e-06/3.613, allocations: 0 / 1.578 GB, free: 60.15 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004101/3.614, allocations: 59.64 kB / 1.578 GB, free: 60.14 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.01311/3.627, allocations: 3.107 MB / 1.582 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/3.627, allocations: 15.25 kB / 1.582 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/3.628, allocations: 251.9 kB / 1.582 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/3.632, allocations: 448 kB / 1.582 GB, free: 58.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/3.638, allocations: 1.952 MB / 1.584 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/3.639, allocations: 133.3 kB / 1.584 GB, free: 57.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/3.64, allocations: 165.9 kB / 1.584 GB, free: 57.97 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006788/3.647, allocations: 2.646 MB / 1.587 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.055e-05/3.647, allocations: 6.531 kB / 1.587 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007619/3.647, allocations: 71.47 kB / 1.587 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002539/3.648, allocations: 160 kB / 1.587 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/3.653, allocations: 2.268 MB / 1.589 GB, free: 57.52 MB / 0.5417 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.02138/3.674, allocations: 11.02 MB / 1.6 GB, free: 51.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/3.678, allocations: 1.819 MB / 1.602 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/3.679, allocations: 0.5098 MB / 1.602 GB, free: 50.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/3.682, allocations: 1.305 MB / 1.604 GB, free: 50.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 5.761e-06/3.682, allocations: 0 / 1.604 GB, free: 50.66 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 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02865/3.71, allocations: 11.23 MB / 1.615 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/3.71, allocations: 356.2 kB / 1.615 GB, free: 48.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/3.713, allocations: 1.413 MB / 1.616 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/3.714, allocations: 64.52 kB / 1.616 GB, free: 48.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/3.715, allocations: 0.877 MB / 1.617 GB, free: 47.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007468/3.716, allocations: 0.6165 MB / 1.618 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/3.716, allocations: 40.44 kB / 1.618 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001676/3.716, allocations: 386.1 kB / 1.618 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/3.718, allocations: 1.046 MB / 1.619 GB, free: 47.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/3.72, allocations: 1.483 MB / 1.621 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/3.723, allocations: 1.315 MB / 1.622 GB, free: 46.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/3.723, allocations: 3.875 kB / 1.622 GB, free: 46.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00601/3.729, allocations: 3.174 MB / 1.625 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/3.73, allocations: 3.768 MB / 1.629 GB, free: 41.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/3.73, allocations: 10.56 kB / 1.629 GB, free: 41.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/3.731, allocations: 194.7 kB / 1.629 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/3.733, allocations: 0.5441 MB / 1.63 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/3.734, allocations: 2.323 MB / 1.632 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/3.737, allocations: 213.6 kB / 1.632 GB, free: 38.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/3.738, allocations: 190 kB / 1.632 GB, free: 38.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/3.738, allocations: 5.125 kB / 1.632 GB, free: 38.72 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005531/3.744, allocations: 2.901 MB / 1.635 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/3.744, allocations: 7.562 kB / 1.635 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/3.744, allocations: 189.1 kB / 1.635 GB, free: 37.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/3.746, allocations: 0.5395 MB / 1.636 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/3.748, allocations: 2.318 MB / 1.638 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/3.75, allocations: 218.3 kB / 1.638 GB, free: 35.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/3.751, allocations: 190.8 kB / 1.638 GB, free: 35.39 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 () * 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.001857/3.753, allocations: 0.6779 MB / 1.639 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/3.753, allocations: 218.6 kB / 1.639 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008767/3.762, allocations: 4.673 MB / 1.644 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/3.762, allocations: 18.84 kB / 1.644 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/3.762, allocations: 3.953 kB / 1.644 GB, free: 33.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004085/3.766, allocations: 2.796 MB / 1.647 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/3.78, allocations: 7.056 MB / 1.654 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/3.78, allocations: 5.031 kB / 1.654 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/3.782, allocations: 445.4 kB / 1.654 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/3.782, allocations: 182.5 kB / 1.654 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/3.782, allocations: 99.67 kB / 1.654 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/3.784, allocations: 3.081 MB / 1.657 GB, free: 24.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/3.784, allocations: 7.938 kB / 1.657 GB, free: 24.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/3.791, allocations: 4.81 MB / 1.662 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/3.793, allocations: 0.5423 MB / 1.662 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008835/3.794, allocations: 62.98 kB / 1.663 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/3.796, allocations: 137.6 kB / 1.663 GB, free: 19.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/3.797, allocations: 168.4 kB / 1.663 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005199/3.797, allocations: 165 kB / 1.663 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00332/3.801, allocations: 1.11 MB / 1.664 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/3.801, allocations: 0 / 1.664 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01128/3.812, allocations: 1.784 MB / 1.666 GB, free: 16.28 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.02284/3.835, allocations: 9.146 MB / 1.675 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01394/3.849, allocations: 4.37 MB / 1.679 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/3.849, allocations: 0 / 1.679 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/3.853, allocations: 1.543 MB / 1.681 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/3.86, allocations: 0.9738 MB / 1.681 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/3.889, allocations: 13.75 MB / 1.695 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/3.892, allocations: 1.723 MB / 1.697 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01195/3.903, allocations: 3.036 MB / 1.7 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004138/3.908, allocations: 1.023 MB / 1.701 GB, free: 484 kB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/3.908, allocations: 0 / 1.701 GB, free: 484 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5484/4.456, allocations: 93.81 MB / 1.792 GB, free: 66.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/4.456, allocations: 262.9 kB / 1.792 GB, free: 65.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.428/9.885, allocations: 0 / 1.792 GB, free: 65.72 MB / 0.5573 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)