Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.001316/0.001316, allocations: 181.8 kB / 15.76 MB, free: 6.363 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.599/1.599, 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.001001/0.001001, allocations: 86.8 kB / 270.2 MB, free: 13.36 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.2265/0.2265, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.65/1.781, allocations: 0.6918 GB / 1.171 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.782, allocations: 85.39 kB / 1.171 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.948/3.729, allocations: 0.5558 GB / 1.727 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/3.73, allocations: 3.125 kB / 1.727 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002411/3.73, allocations: 62.5 kB / 1.727 GB, free: 44.52 MB / 0.5105 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.01201/3.742, allocations: 3.335 MB / 1.73 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/3.742, allocations: 9.5 kB / 1.73 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/3.743, allocations: 250.9 kB / 1.73 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/3.746, allocations: 452.2 kB / 1.731 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005936/3.752, allocations: 1.955 MB / 1.732 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/3.752, allocations: 127.5 kB / 1.733 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/3.753, allocations: 170 kB / 1.733 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/3.757, allocations: 2.644 MB / 1.735 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/3.757, allocations: 3.188 kB / 1.735 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/3.757, allocations: 73.16 kB / 1.735 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/3.758, allocations: 151.6 kB / 1.736 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/3.761, allocations: 2.263 MB / 1.738 GB, free: 41.86 MB / 0.5105 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.01429/3.775, allocations: 11.02 MB / 1.749 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/3.778, allocations: 1.81 MB / 1.75 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/3.779, allocations: 460 kB / 1.751 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/3.781, allocations: 1.294 MB / 1.752 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.418e-06/3.781, allocations: 2.406 kB / 1.752 GB, free: 35.18 MB / 0.5105 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.025/3.806, allocations: 11.19 MB / 1.763 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/3.806, allocations: 365.2 kB / 1.763 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/3.808, allocations: 1.413 MB / 1.765 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/3.808, allocations: 64.23 kB / 1.765 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/3.809, allocations: 0.8722 MB / 1.766 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/3.81, allocations: 0.6199 MB / 1.766 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/3.81, allocations: 37.47 kB / 1.766 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001378/3.81, allocations: 390.4 kB / 1.767 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/3.812, allocations: 1.039 MB / 1.768 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/3.813, allocations: 1.491 MB / 1.769 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/3.815, allocations: 1.305 MB / 1.77 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/3.815, allocations: 6.281 kB / 1.77 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005023/3.82, allocations: 3.159 MB / 1.773 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007806/3.821, allocations: 3.773 MB / 1.777 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/3.821, allocations: 7.312 kB / 1.777 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/3.822, allocations: 191.3 kB / 1.777 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/3.824, allocations: 0.5414 MB / 1.778 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/3.825, allocations: 2.33 MB / 1.78 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/3.828, allocations: 206.6 kB / 1.78 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/3.828, allocations: 188.9 kB / 1.78 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/3.828, allocations: 3.781 kB / 1.78 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004579/3.833, allocations: 2.891 MB / 1.783 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/3.833, allocations: 15.86 kB / 1.783 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/3.833, allocations: 191.1 kB / 1.784 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/3.835, allocations: 0.5268 MB / 1.784 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/3.836, allocations: 2.325 MB / 1.786 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/3.838, allocations: 214.6 kB / 1.786 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/3.839, allocations: 187.8 kB / 1.787 GB, free: 20.55 MB / 0.5105 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.001513/3.84, allocations: 0.6896 MB / 1.787 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/3.841, allocations: 217.9 kB / 1.788 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007087/3.848, allocations: 3.764 MB / 1.791 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/3.848, allocations: 17 kB / 1.791 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/3.848, allocations: 6.688 kB / 1.791 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003609/3.852, allocations: 2.786 MB / 1.794 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/3.864, allocations: 6.662 MB / 1.8 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/3.864, allocations: 3.906 kB / 1.8 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/3.866, allocations: 437.3 kB / 1.801 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/3.867, allocations: 184.8 kB / 1.801 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/3.867, allocations: 104.6 kB / 1.801 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/3.869, allocations: 3.077 MB / 1.804 GB, free: 27.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/3.869, allocations: 10.94 kB / 1.804 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006351/3.875, allocations: 4.692 MB / 1.809 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/3.877, allocations: 0.547 MB / 1.809 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/3.878, allocations: 59.17 kB / 1.809 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/3.879, allocations: 137.6 kB / 1.809 GB, free: 22.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/3.88, allocations: 161.9 kB / 1.81 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/3.88, allocations: 165.5 kB / 1.81 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001912/3.882, allocations: 1.107 MB / 1.811 GB, free: 21.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/3.882, allocations: 7.875 kB / 1.811 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006737/3.889, allocations: 1.977 MB / 1.813 GB, free: 19.12 MB / 0.5261 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.01366/3.902, allocations: 9.081 MB / 1.822 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009106/3.912, allocations: 4.347 MB / 1.826 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/3.912, allocations: 4 kB / 1.826 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/3.914, allocations: 1.531 MB / 1.827 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/3.92, allocations: 0.9859 MB / 1.828 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/3.937, allocations: 13.8 MB / 1.842 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/3.938, allocations: 1.716 MB / 1.844 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006179/3.945, allocations: 1.358 MB / 1.845 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/3.947, allocations: 0.9789 MB / 1.846 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/3.947, allocations: 0 / 1.846 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4734/4.421, allocations: 96.89 MB / 1.94 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/4.421, allocations: 258.9 kB / 1.941 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.551/9.972, allocations: 0 / 1.941 GB, free: 65.5 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat