Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",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.001526/0.001526, allocations: 184.2 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.682/1.682, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009687/0.0009691, allocations: 98.84 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.215/0.215, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 58.84 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.549/1.663, allocations: 0.6919 GB / 1.171 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.663, allocations: 84.47 kB / 1.171 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.177/3.84, allocations: 0.6212 GB / 1.792 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.894e-06/3.84, allocations: 0 / 1.792 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002247/3.84, allocations: 66.16 kB / 1.792 GB, free: 44.07 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01251/3.853, allocations: 3.515 MB / 1.796 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/3.853, allocations: 9.188 kB / 1.796 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001477/3.854, allocations: 260.7 kB / 1.796 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/3.858, allocations: 472.5 kB / 1.796 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/3.865, allocations: 2.025 MB / 1.798 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/3.866, allocations: 140.1 kB / 1.798 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/3.867, allocations: 177.1 kB / 1.799 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/3.872, allocations: 2.76 MB / 1.801 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/3.872, allocations: 8.719 kB / 1.801 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/3.872, allocations: 75.3 kB / 1.801 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/3.873, allocations: 152.7 kB / 1.801 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/3.876, allocations: 2.36 MB / 1.804 GB, free: 41.46 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.01565/3.892, allocations: 11.61 MB / 1.815 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/3.895, allocations: 1.885 MB / 1.817 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/3.896, allocations: 462.8 kB / 1.817 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/3.898, allocations: 1.359 MB / 1.819 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 5.701e-06/3.898, allocations: 0 / 1.819 GB, free: 34.43 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.03407/3.932, allocations: 12.44 MB / 1.831 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/3.933, allocations: 369.2 kB / 1.831 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/3.936, allocations: 1.476 MB / 1.833 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007226/3.937, allocations: 69.14 kB / 1.833 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/3.938, allocations: 0.9081 MB / 1.834 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/3.939, allocations: 0.6798 MB / 1.834 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/3.939, allocations: 45.72 kB / 1.834 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001865/3.94, allocations: 392.2 kB / 1.835 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/3.942, allocations: 1.096 MB / 1.836 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/3.944, allocations: 1.585 MB / 1.837 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/3.947, allocations: 1.368 MB / 1.839 GB, free: 30 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/3.947, allocations: 3.906 kB / 1.839 GB, free: 30 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007281/3.955, allocations: 3.399 MB / 1.842 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009182/3.956, allocations: 4.33 MB / 1.846 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/3.956, allocations: 12.31 kB / 1.846 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/3.956, allocations: 307.2 kB / 1.846 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/3.959, allocations: 0.5618 MB / 1.847 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/3.961, allocations: 3.011 MB / 1.85 GB, free: 22.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/3.964, allocations: 220.2 kB / 1.85 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008443/3.965, allocations: 211.3 kB / 1.85 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/3.965, allocations: 6.531 kB / 1.85 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006988/3.972, allocations: 3.12 MB / 1.853 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/3.972, allocations: 12.52 kB / 1.853 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/3.973, allocations: 308 kB / 1.854 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/3.976, allocations: 0.5534 MB / 1.854 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/3.977, allocations: 3.004 MB / 1.857 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/3.98, allocations: 219.7 kB / 1.857 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005757/3.981, allocations: 201.8 kB / 1.858 GB, free: 19.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (261): * Single equations (assignments): 254 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002013/3.983, allocations: 0.7045 MB / 1.858 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/3.984, allocations: 229.3 kB / 1.859 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009601/3.993, allocations: 3.97 MB / 1.862 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/3.993, allocations: 25.97 kB / 1.862 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/3.993, allocations: 0 / 1.862 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004896/3.998, allocations: 3.054 MB / 1.865 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/4.012, allocations: 7.147 MB / 1.872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/4.012, allocations: 11.67 kB / 1.872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/4.014, allocations: 453.8 kB / 1.873 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/4.015, allocations: 322.1 kB / 1.873 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/4.016, allocations: 115 kB / 1.873 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/4.019, allocations: 3.752 MB / 1.877 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/4.019, allocations: 16.95 kB / 1.877 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008503/4.028, allocations: 5.077 MB / 1.882 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/4.03, allocations: 0.5695 MB / 1.882 GB, free: 23.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009056/4.031, allocations: 63.17 kB / 1.883 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/4.033, allocations: 135.3 kB / 1.883 GB, free: 23.26 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/4.034, allocations: 188.9 kB / 1.883 GB, free: 23.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004053/4.034, allocations: 192.3 kB / 1.883 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002151/4.036, allocations: 1.13 MB / 1.884 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/4.036, allocations: 2.812 kB / 1.884 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009194/4.046, allocations: 2.088 MB / 1.886 GB, free: 22.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 9 (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,junctionVolume.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 (206): * Single equations (assignments): 199 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01792/4.064, allocations: 9.592 MB / 1.896 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01142/4.075, allocations: 4.645 MB / 1.9 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/4.075, allocations: 4 kB / 1.9 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/4.079, allocations: 1.659 MB / 1.902 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006031/4.085, allocations: 1.116 MB / 1.903 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/4.105, allocations: 15.26 MB / 1.918 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/4.108, allocations: 1.759 MB / 1.919 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007192/4.115, allocations: 1.411 MB / 1.921 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00286/4.118, allocations: 1.045 MB / 1.922 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of SimCode: time 1.021e-06/4.118, allocations: 4 kB / 1.922 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5172/4.635, allocations: 105.4 MB / 2.025 GB, free: 64.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/4.635, allocations: 267.1 kB / 2.025 GB, free: 64.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.104/10.74, allocations: 0 / 2.025 GB, free: 64.17 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat