Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 182.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.000949, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.227/0.227, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003223, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/1.948, allocations: 0.6918 GB / 1.171 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.948, allocations: 77.02 kB / 1.171 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.126/4.074, allocations: 0.5558 GB / 1.727 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/4.074, allocations: 0 / 1.727 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004072/4.075, allocations: 61.36 kB / 1.727 GB, free: 46.12 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.01323/4.088, allocations: 3.338 MB / 1.73 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/4.088, allocations: 10.48 kB / 1.73 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001534/4.089, allocations: 252.4 kB / 1.73 GB, free: 45.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/4.094, allocations: 449 kB / 1.731 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009282/4.103, allocations: 1.956 MB / 1.732 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/4.103, allocations: 130.6 kB / 1.733 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/4.105, allocations: 167.1 kB / 1.733 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008818/4.114, allocations: 2.64 MB / 1.735 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/4.114, allocations: 7.062 kB / 1.735 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000777/4.115, allocations: 74.84 kB / 1.735 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002752/4.115, allocations: 149 kB / 1.736 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00597/4.121, allocations: 2.265 MB / 1.738 GB, free: 44.09 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.01923/4.14, allocations: 11.03 MB / 1.748 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/4.144, allocations: 1.808 MB / 1.75 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/4.145, allocations: 461.7 kB / 1.751 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002625/4.148, allocations: 1.301 MB / 1.752 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 4.839e-06/4.148, allocations: 0 / 1.752 GB, free: 37.51 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.03003/4.178, allocations: 11.19 MB / 1.763 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/4.178, allocations: 364.6 kB / 1.763 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/4.181, allocations: 1.411 MB / 1.765 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005309/4.181, allocations: 66.58 kB / 1.765 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/4.182, allocations: 0.8711 MB / 1.766 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/4.183, allocations: 0.6216 MB / 1.766 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/4.184, allocations: 40.62 kB / 1.766 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001735/4.184, allocations: 390.7 kB / 1.767 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/4.186, allocations: 1.042 MB / 1.768 GB, free: 34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/4.188, allocations: 1.487 MB / 1.769 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/4.191, allocations: 1.308 MB / 1.77 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/4.191, allocations: 2.469 kB / 1.77 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006615/4.197, allocations: 3.159 MB / 1.773 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008954/4.198, allocations: 3.77 MB / 1.777 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/4.198, allocations: 9.906 kB / 1.777 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/4.199, allocations: 195.2 kB / 1.777 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/4.201, allocations: 0.5368 MB / 1.778 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/4.202, allocations: 2.328 MB / 1.78 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/4.205, allocations: 213.7 kB / 1.78 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005007/4.206, allocations: 186 kB / 1.78 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/4.206, allocations: 2.281 kB / 1.78 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005277/4.211, allocations: 2.896 MB / 1.783 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/4.211, allocations: 7.5 kB / 1.783 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/4.211, allocations: 195 kB / 1.783 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/4.214, allocations: 0.5265 MB / 1.784 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/4.215, allocations: 2.322 MB / 1.786 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/4.218, allocations: 209.2 kB / 1.786 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/4.218, allocations: 186 kB / 1.787 GB, free: 24.9 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.001973/4.22, allocations: 0.6969 MB / 1.787 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/4.221, allocations: 216.1 kB / 1.788 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/4.23, allocations: 3.773 MB / 1.791 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/4.23, allocations: 21.41 kB / 1.791 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/4.23, allocations: 0 / 1.791 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004456/4.234, allocations: 2.786 MB / 1.794 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/4.249, allocations: 6.648 MB / 1.8 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/4.249, allocations: 7.562 kB / 1.8 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/4.251, allocations: 431.4 kB / 1.801 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/4.252, allocations: 188.9 kB / 1.801 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003648/4.252, allocations: 101.2 kB / 1.801 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/4.255, allocations: 3.079 MB / 1.804 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/4.255, allocations: 13.78 kB / 1.804 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/4.263, allocations: 4.707 MB / 1.809 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/4.265, allocations: 0.5429 MB / 1.809 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009466/4.266, allocations: 56.98 kB / 1.809 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/4.269, allocations: 134.1 kB / 1.809 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/4.269, allocations: 168 kB / 1.81 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003452/4.27, allocations: 159.6 kB / 1.81 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002433/4.272, allocations: 1.109 MB / 1.811 GB, free: 33.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/4.272, allocations: 0 / 1.811 GB, free: 33.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009836/4.282, allocations: 1.98 MB / 1.813 GB, free: 33.69 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.01694/4.299, allocations: 9.077 MB / 1.822 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01136/4.31, allocations: 4.362 MB / 1.826 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/4.31, allocations: 3.5 kB / 1.826 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002885/4.313, allocations: 1.521 MB / 1.827 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/4.319, allocations: 0.9789 MB / 1.828 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/4.338, allocations: 13.81 MB / 1.842 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/4.34, allocations: 1.719 MB / 1.844 GB, free: 19.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00683/4.347, allocations: 1.353 MB / 1.845 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/4.349, allocations: 0.9772 MB / 1.846 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/4.349, allocations: 0 / 1.846 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/4.842, allocations: 96.86 MB / 1.94 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/4.842, allocations: 259 kB / 1.941 GB, free: 67.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.466/10.31, allocations: 1.5 kB / 1.941 GB, free: 67.58 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat