Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.01057/0.01057, allocations: 175.5 kB / 15.12 MB, free: 5.934 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.055/2.055, allocations: 194.5 MB / 210.3 MB, free: 8.578 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.002081/0.002081, allocations: 116.6 kB / 255.6 MB, free: 11.2 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.2621/0.2621, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.000653, allocations: 11.5 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.122, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.213/2.335, allocations: 0.6877 GB / 1.138 GB, free: 121.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/2.335, allocations: 84.38 kB / 1.138 GB, free: 121.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.099/5.434, allocations: 0.5508 GB / 1.689 GB, free: 40.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.446e-06/5.434, allocations: 0 / 1.689 GB, free: 40.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003161/5.434, allocations: 71.06 kB / 1.689 GB, free: 40.45 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.01484/5.449, allocations: 3.325 MB / 1.692 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/5.449, allocations: 10.31 kB / 1.692 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001377/5.451, allocations: 251.4 kB / 1.693 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/5.456, allocations: 450.1 kB / 1.693 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008762/5.464, allocations: 1.948 MB / 1.695 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/5.465, allocations: 126.8 kB / 1.695 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/5.466, allocations: 174.8 kB / 1.695 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007634/5.473, allocations: 2.61 MB / 1.698 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.601e-05/5.473, allocations: 10.44 kB / 1.698 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/5.474, allocations: 73.53 kB / 1.698 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/5.474, allocations: 152.4 kB / 1.698 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007397/5.482, allocations: 2.248 MB / 1.7 GB, free: 38.12 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.02389/5.506, allocations: 10.96 MB / 1.711 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004957/5.511, allocations: 1.792 MB / 1.713 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/5.512, allocations: 459.9 kB / 1.713 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003169/5.515, allocations: 1.185 MB / 1.714 GB, free: 31.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 5.731e-06/5.515, allocations: 0 / 1.714 GB, free: 31.51 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.04532/5.561, allocations: 10.97 MB / 1.725 GB, free: 29.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/5.561, allocations: 259.1 kB / 1.725 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/5.564, allocations: 1.34 MB / 1.726 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000737/5.565, allocations: 69.67 kB / 1.726 GB, free: 29.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/5.566, allocations: 0.8724 MB / 1.727 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/5.567, allocations: 0.6232 MB / 1.728 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/5.567, allocations: 43.19 kB / 1.728 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001656/5.567, allocations: 391.7 kB / 1.728 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/5.57, allocations: 1.033 MB / 1.729 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/5.574, allocations: 1.479 MB / 1.731 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/5.578, allocations: 1.306 MB / 1.732 GB, free: 27.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/5.578, allocations: 3.188 kB / 1.732 GB, free: 27.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01011/5.588, allocations: 3.085 MB / 1.735 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009342/5.589, allocations: 4.291 MB / 1.739 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/5.589, allocations: 12.81 kB / 1.739 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/5.59, allocations: 185.1 kB / 1.739 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/5.594, allocations: 0.5497 MB / 1.74 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/5.596, allocations: 2.33 MB / 1.742 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/5.601, allocations: 204.7 kB / 1.742 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009714/5.602, allocations: 191.1 kB / 1.743 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/5.602, allocations: 5.562 kB / 1.743 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008742/5.611, allocations: 2.82 MB / 1.745 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/5.611, allocations: 7.594 kB / 1.745 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/5.611, allocations: 200 kB / 1.746 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/5.616, allocations: 0.5299 MB / 1.746 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/5.618, allocations: 2.33 MB / 1.748 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/5.622, allocations: 210.7 kB / 1.749 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005747/5.623, allocations: 188.3 kB / 1.749 GB, free: 34.34 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.002035/5.625, allocations: 0.6909 MB / 1.749 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000651/5.625, allocations: 207.5 kB / 1.75 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/5.637, allocations: 3.529 MB / 1.753 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/5.637, allocations: 21.41 kB / 1.753 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/5.637, allocations: 3.953 kB / 1.753 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00681/5.644, allocations: 2.757 MB / 1.756 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/5.664, allocations: 6.932 MB / 1.763 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/5.664, allocations: 9.469 kB / 1.763 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/5.668, allocations: 451.8 kB / 1.763 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000684/5.669, allocations: 186.8 kB / 1.763 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005027/5.669, allocations: 103.7 kB / 1.763 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/5.672, allocations: 3.08 MB / 1.766 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/5.672, allocations: 13.22 kB / 1.766 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/5.683, allocations: 4.737 MB / 1.771 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/5.685, allocations: 0.5265 MB / 1.771 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007408/5.686, allocations: 60.86 kB / 1.772 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/5.689, allocations: 128.6 kB / 1.772 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/5.689, allocations: 176.2 kB / 1.772 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/5.69, allocations: 172.2 kB / 1.772 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002388/5.692, allocations: 1.025 MB / 1.773 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/5.692, allocations: 0 / 1.773 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009548/5.702, allocations: 1.95 MB / 1.775 GB, free: 27.02 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.02054/5.723, allocations: 9.325 MB / 1.784 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01202/5.735, allocations: 4.394 MB / 1.788 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/5.735, allocations: 0 / 1.788 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/5.738, allocations: 1.566 MB / 1.79 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/5.746, allocations: 0.9076 MB / 1.791 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/5.776, allocations: 16.14 MB / 1.806 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/5.778, allocations: 1.714 MB / 1.808 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009037/5.787, allocations: 1.354 MB / 1.809 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00339/5.79, allocations: 0.9772 MB / 1.81 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/5.79, allocations: 0 / 1.81 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6238/6.414, allocations: 94.07 MB / 1.902 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/6.414, allocations: 259.6 kB / 1.903 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/13.64, allocations: 0 / 1.903 GB, free: 65.16 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat