Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01503/0.01503, allocations: 176.1 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.043/2.043, allocations: 194.5 MB / 210.3 MB, free: 8.785 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002127/0.002126, allocations: 128.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2611/0.2611, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 11.47 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1095, allocations: 54.87 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.222/2.332, allocations: 0.6877 GB / 1.138 GB, free: 121.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/2.332, allocations: 76.58 kB / 1.138 GB, free: 121.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116/5.448, allocations: 0.5508 GB / 1.689 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.464e-06/5.448, allocations: 0 / 1.689 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003206/5.449, allocations: 63.66 kB / 1.689 GB, free: 40.88 MB / 0.4948 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.01487/5.464, allocations: 3.32 MB / 1.692 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/5.464, allocations: 9.562 kB / 1.692 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001469/5.465, allocations: 255 kB / 1.692 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/5.47, allocations: 446.6 kB / 1.693 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008775/5.479, allocations: 1.953 MB / 1.695 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/5.479, allocations: 132.9 kB / 1.695 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/5.48, allocations: 166 kB / 1.695 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008482/5.489, allocations: 2.614 MB / 1.698 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/5.489, allocations: 9.672 kB / 1.698 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006344/5.49, allocations: 75.64 kB / 1.698 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/5.49, allocations: 155.1 kB / 1.698 GB, free: 38.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007485/5.497, allocations: 2.247 MB / 1.7 GB, free: 38.6 MB / 0.4948 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.02521/5.523, allocations: 10.96 MB / 1.711 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/5.528, allocations: 1.784 MB / 1.713 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/5.53, allocations: 449.9 kB / 1.713 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/5.533, allocations: 1.182 MB / 1.714 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 5.15e-06/5.534, allocations: 2.625 kB / 1.714 GB, free: 31.98 MB / 0.4948 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.04969/5.583, allocations: 10.98 MB / 1.725 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/5.583, allocations: 259.7 kB / 1.725 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/5.586, allocations: 1.34 MB / 1.726 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007254/5.587, allocations: 63.02 kB / 1.726 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/5.588, allocations: 0.8703 MB / 1.727 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/5.589, allocations: 0.6296 MB / 1.728 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/5.59, allocations: 41.5 kB / 1.728 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001746/5.59, allocations: 392.3 kB / 1.728 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/5.593, allocations: 1.028 MB / 1.729 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/5.597, allocations: 1.476 MB / 1.731 GB, free: 28.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/5.601, allocations: 1.311 MB / 1.732 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/5.601, allocations: 3.938 kB / 1.732 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.009691/5.61, allocations: 3.081 MB / 1.735 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009596/5.611, allocations: 4.296 MB / 1.739 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/5.612, allocations: 15.36 kB / 1.739 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/5.612, allocations: 192.6 kB / 1.739 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004723/5.617, allocations: 0.5451 MB / 1.74 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/5.619, allocations: 2.33 MB / 1.742 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/5.623, allocations: 203.1 kB / 1.742 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/5.624, allocations: 192.4 kB / 1.743 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/5.624, allocations: 6.25 kB / 1.743 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008606/5.633, allocations: 2.817 MB / 1.745 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/5.633, allocations: 11.72 kB / 1.745 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/5.633, allocations: 197 kB / 1.746 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/5.638, allocations: 0.533 MB / 1.746 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/5.641, allocations: 2.324 MB / 1.748 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/5.645, allocations: 216.1 kB / 1.749 GB, free: 34.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008826/5.646, allocations: 186.6 kB / 1.749 GB, free: 34.81 MB / 0.5105 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 (250): * Single equations (assignments): 244 * 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.002305/5.648, allocations: 0.6918 MB / 1.749 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/5.649, allocations: 206.1 kB / 1.75 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/5.662, allocations: 3.524 MB / 1.753 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/5.662, allocations: 17.44 kB / 1.753 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/5.662, allocations: 8.797 kB / 1.753 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007394/5.669, allocations: 2.762 MB / 1.756 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/5.689, allocations: 6.933 MB / 1.763 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/5.689, allocations: 11.77 kB / 1.763 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003793/5.693, allocations: 443.5 kB / 1.763 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/5.694, allocations: 190.3 kB / 1.763 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006116/5.694, allocations: 103.8 kB / 1.763 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/5.697, allocations: 3.073 MB / 1.766 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/5.697, allocations: 13.44 kB / 1.766 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/5.708, allocations: 4.737 MB / 1.771 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/5.711, allocations: 0.5248 MB / 1.771 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00079/5.711, allocations: 59.41 kB / 1.772 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/5.714, allocations: 136.3 kB / 1.772 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00057/5.715, allocations: 180.6 kB / 1.772 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004227/5.715, allocations: 167.3 kB / 1.772 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002175/5.717, allocations: 1.023 MB / 1.773 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/5.717, allocations: 0 / 1.773 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008697/5.726, allocations: 1.95 MB / 1.775 GB, free: 27.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (196): * Single equations (assignments): 190 * 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.02035/5.747, allocations: 9.332 MB / 1.784 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01266/5.759, allocations: 4.397 MB / 1.788 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/5.759, allocations: 0 / 1.788 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/5.764, allocations: 1.56 MB / 1.79 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007829/5.772, allocations: 0.9186 MB / 1.791 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/5.801, allocations: 16.12 MB / 1.806 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/5.803, allocations: 1.726 MB / 1.808 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008893/5.812, allocations: 1.347 MB / 1.809 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003273/5.815, allocations: 0.9794 MB / 1.81 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/5.815, allocations: 0 / 1.81 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6429/6.458, allocations: 95.48 MB / 1.904 GB, free: 65 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/6.459, allocations: 254 kB / 1.904 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/13.5, allocations: 0 / 1.904 GB, free: 64.65 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat