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.001736/0.001736, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008914/0.0008914, allocations: 104.4 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4767/0.4767, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.389e-05/5.408e-05, allocations: 7.984 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.581/2.755, allocations: 0.659 GB / 1.132 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004172/2.755, allocations: 74.44 kB / 1.132 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.414/5.17, allocations: 0.545 GB / 1.677 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/5.17, allocations: 4 kB / 1.677 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003736/5.17, allocations: 63.92 kB / 1.677 GB, free: 10.61 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.01292/5.183, allocations: 3.028 MB / 1.68 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/5.183, allocations: 11.97 kB / 1.68 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001915/5.185, allocations: 252.7 kB / 1.68 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/5.19, allocations: 432.9 kB / 1.681 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/5.199, allocations: 1.934 MB / 1.683 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/5.199, allocations: 135 kB / 1.683 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/5.201, allocations: 171.9 kB / 1.683 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/5.211, allocations: 2.593 MB / 1.685 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/5.211, allocations: 3.938 kB / 1.685 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009566/5.212, allocations: 79.95 kB / 1.685 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/5.213, allocations: 155 kB / 1.686 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005706/5.218, allocations: 2.187 MB / 1.688 GB, free: 15.36 MB / 0.5261 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.02424/5.243, allocations: 11.03 MB / 1.699 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/5.247, allocations: 1.771 MB / 1.7 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/5.249, allocations: 1.055 MB / 1.701 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/5.25, allocations: 457.1 kB / 1.702 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.555/5.805, allocations: 1.27 MB / 1.703 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 6.592e-06/5.805, allocations: 0 / 1.703 GB, free: 47.52 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02806/5.833, allocations: 8.657 MB / 1.711 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/5.833, allocations: 364.5 kB / 1.712 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/5.836, allocations: 1.401 MB / 1.713 GB, free: 46.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003927/5.836, allocations: 64.97 kB / 1.713 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/5.837, allocations: 0.8649 MB / 1.714 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008191/5.838, allocations: 0.6236 MB / 1.715 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/5.838, allocations: 41 kB / 1.715 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001868/5.838, allocations: 389.9 kB / 1.715 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/5.841, allocations: 0.9967 MB / 1.716 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/5.843, allocations: 1.436 MB / 1.717 GB, free: 44.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/5.845, allocations: 1.264 MB / 1.719 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/5.845, allocations: 3.844 kB / 1.719 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005985/5.851, allocations: 3.067 MB / 1.722 GB, free: 44.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001167/5.852, allocations: 3.78 MB / 1.725 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/5.852, allocations: 9.562 kB / 1.725 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/5.853, allocations: 186.2 kB / 1.726 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/5.855, allocations: 0.5375 MB / 1.726 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/5.857, allocations: 2.33 MB / 1.728 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/5.86, allocations: 214.1 kB / 1.729 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/5.861, allocations: 188.2 kB / 1.729 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/5.861, allocations: 6.406 kB / 1.729 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005156/5.866, allocations: 2.798 MB / 1.731 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/5.866, allocations: 9.625 kB / 1.731 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/5.866, allocations: 190.5 kB / 1.732 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/5.869, allocations: 0.5291 MB / 1.732 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/5.87, allocations: 2.323 MB / 1.734 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/5.874, allocations: 213.3 kB / 1.735 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006418/5.874, allocations: 186.7 kB / 1.735 GB, free: 36.02 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 () * 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.00143/5.876, allocations: 292.3 kB / 1.735 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/5.877, allocations: 218.7 kB / 1.735 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009751/5.887, allocations: 3.702 MB / 1.739 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/5.887, allocations: 20.44 kB / 1.739 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/5.887, allocations: 0 / 1.739 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/5.892, allocations: 2.726 MB / 1.742 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/5.909, allocations: 6.601 MB / 1.748 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/5.909, allocations: 5.312 kB / 1.748 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/5.911, allocations: 433.6 kB / 1.748 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006144/5.912, allocations: 183.8 kB / 1.749 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/5.912, allocations: 100.7 kB / 1.749 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/5.915, allocations: 3.064 MB / 1.752 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/5.915, allocations: 12.17 kB / 1.752 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/5.925, allocations: 4.621 MB / 1.756 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/5.928, allocations: 0.5422 MB / 1.757 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/5.929, allocations: 57.2 kB / 1.757 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/5.932, allocations: 135 kB / 1.757 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/5.933, allocations: 165.8 kB / 1.757 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004641/5.933, allocations: 158.8 kB / 1.757 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002971/5.936, allocations: 1.088 MB / 1.758 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/5.936, allocations: 2.188 kB / 1.758 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01493/5.951, allocations: 1.974 MB / 1.76 GB, free: 29.18 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) * 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.02619/5.977, allocations: 9.004 MB / 1.769 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01324/5.991, allocations: 4.304 MB / 1.773 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/5.991, allocations: 0 / 1.773 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003477/5.994, allocations: 1.5 MB / 1.775 GB, free: 25.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007016/6.001, allocations: 0.9782 MB / 1.776 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/6.022, allocations: 5.02 MB / 1.781 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/6.026, allocations: 1.726 MB / 1.782 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01011/6.036, allocations: 1.544 MB / 1.784 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/6.039, allocations: 0.9544 MB / 1.785 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/6.039, allocations: 2.781 kB / 1.785 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/6.258, allocations: 104.5 MB / 1.887 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/6.258, allocations: 226.2 kB / 1.887 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.904/12.16, allocations: 0 / 1.887 GB, free: 3.051 MB / 0.5417 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