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.001464/0.001464, allocations: 182.8 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 1.971/1.971, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001084/0.001083, allocations: 85.67 kB / 267 MB, free: 9.277 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.5425/0.5425, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.76e-05/4.763e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1799, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.558/2.738, allocations: 0.659 GB / 1.132 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/2.738, allocations: 78.92 kB / 1.132 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.289/5.027, allocations: 0.545 GB / 1.677 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.355e-06/5.027, allocations: 0 / 1.677 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001808/5.027, allocations: 59.92 kB / 1.677 GB, free: 10.55 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.01012/5.037, allocations: 3.036 MB / 1.68 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/5.038, allocations: 11.97 kB / 1.68 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006938/5.038, allocations: 244.8 kB / 1.68 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/5.041, allocations: 444.8 kB / 1.681 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/5.046, allocations: 1.942 MB / 1.683 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-05/5.046, allocations: 127 kB / 1.683 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/5.047, allocations: 175.9 kB / 1.683 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/5.051, allocations: 2.589 MB / 1.685 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/5.051, allocations: 7.938 kB / 1.685 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/5.051, allocations: 71.97 kB / 1.685 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/5.051, allocations: 147 kB / 1.686 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/5.055, allocations: 2.195 MB / 1.688 GB, free: 15.29 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.01733/5.072, allocations: 11.04 MB / 1.699 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/5.075, allocations: 1.767 MB / 1.7 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/5.077, allocations: 1.055 MB / 1.701 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/5.078, allocations: 457.1 kB / 1.702 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5641/5.642, allocations: 1.268 MB / 1.703 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 5.29e-06/5.642, allocations: 1.375 kB / 1.703 GB, free: 47.86 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.02535/5.667, allocations: 8.652 MB / 1.711 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/5.668, allocations: 371.2 kB / 1.712 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/5.67, allocations: 1.399 MB / 1.713 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/5.671, allocations: 61.61 kB / 1.713 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009092/5.672, allocations: 0.8636 MB / 1.714 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007143/5.672, allocations: 0.6236 MB / 1.715 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/5.672, allocations: 46.8 kB / 1.715 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001595/5.673, allocations: 384.5 kB / 1.715 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/5.674, allocations: 0.9973 MB / 1.716 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/5.676, allocations: 1.434 MB / 1.717 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/5.678, allocations: 1.272 MB / 1.719 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/5.678, allocations: 3.562 kB / 1.719 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005685/5.684, allocations: 3.067 MB / 1.722 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001168/5.685, allocations: 3.776 MB / 1.725 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/5.685, allocations: 10.12 kB / 1.725 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/5.686, allocations: 188.7 kB / 1.726 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/5.688, allocations: 0.5392 MB / 1.726 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/5.69, allocations: 2.324 MB / 1.728 GB, free: 38.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/5.693, allocations: 214.1 kB / 1.729 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/5.693, allocations: 193.7 kB / 1.729 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/5.693, allocations: 5.031 kB / 1.729 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004971/5.698, allocations: 2.802 MB / 1.731 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/5.698, allocations: 6.594 kB / 1.731 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/5.699, allocations: 189.4 kB / 1.732 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/5.701, allocations: 0.5229 MB / 1.732 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/5.702, allocations: 2.325 MB / 1.734 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/5.705, allocations: 210.8 kB / 1.735 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/5.705, allocations: 188.6 kB / 1.735 GB, free: 36.37 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.0009459/5.706, allocations: 297.3 kB / 1.735 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/5.707, allocations: 216.2 kB / 1.735 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/5.715, allocations: 3.706 MB / 1.739 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/5.715, allocations: 18.94 kB / 1.739 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/5.715, allocations: 0 / 1.739 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003995/5.719, allocations: 2.732 MB / 1.742 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/5.732, allocations: 6.591 MB / 1.748 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/5.732, allocations: 8.25 kB / 1.748 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/5.734, allocations: 429.7 kB / 1.748 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/5.734, allocations: 180.6 kB / 1.749 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/5.734, allocations: 98.45 kB / 1.749 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/5.736, allocations: 3.071 MB / 1.752 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/5.736, allocations: 15.83 kB / 1.752 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008674/5.745, allocations: 4.612 MB / 1.756 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/5.747, allocations: 0.5498 MB / 1.757 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/5.748, allocations: 59.27 kB / 1.757 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/5.749, allocations: 131.3 kB / 1.757 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/5.75, allocations: 166.3 kB / 1.757 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003063/5.75, allocations: 159.7 kB / 1.757 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002119/5.752, allocations: 1.09 MB / 1.758 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/5.752, allocations: 3.469 kB / 1.758 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01209/5.764, allocations: 1.979 MB / 1.76 GB, free: 29.52 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.0188/5.783, allocations: 8.997 MB / 1.769 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01158/5.795, allocations: 4.295 MB / 1.773 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.562e-05/5.795, allocations: 5.281 kB / 1.773 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/5.798, allocations: 1.503 MB / 1.775 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007406/5.806, allocations: 0.9703 MB / 1.776 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/5.828, allocations: 5.021 MB / 1.781 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/5.831, allocations: 1.729 MB / 1.782 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009551/5.84, allocations: 1.542 MB / 1.784 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/5.844, allocations: 0.9503 MB / 1.785 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of SimCode: time 5.1e-06/5.844, allocations: 0 / 1.785 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/6.062, allocations: 104.5 MB / 1.887 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/6.062, allocations: 226.2 kB / 1.887 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.794/11.86, allocations: 4.062 kB / 1.887 GB, free: 3.383 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