Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01002/0.01002, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.631/1.631, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001933/0.001933, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4381/0.4381, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004811, allocations: 8 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.047/2.152, allocations: 0.6811 GB / 1.083 GB, free: 20.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/2.152, allocations: 79.91 kB / 1.083 GB, free: 20.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.391/5.543, allocations: 0.5505 GB / 1.634 GB, free: 28.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.474e-06/5.543, allocations: 3.25 kB / 1.634 GB, free: 28.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003403/5.543, allocations: 61.03 kB / 1.634 GB, free: 28.61 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01644/5.56, allocations: 3.306 MB / 1.637 GB, free: 27.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/5.56, allocations: 16.28 kB / 1.637 GB, free: 27.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001587/5.561, allocations: 254 kB / 1.637 GB, free: 27.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/5.567, allocations: 434.1 kB / 1.638 GB, free: 27.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009286/5.576, allocations: 1.945 MB / 1.64 GB, free: 26.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/5.576, allocations: 133.2 kB / 1.64 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/5.577, allocations: 164.5 kB / 1.64 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/5.587, allocations: 2.598 MB / 1.642 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/5.587, allocations: 7.75 kB / 1.642 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008136/5.588, allocations: 73.08 kB / 1.642 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/5.588, allocations: 152.2 kB / 1.643 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/5.596, allocations: 2.238 MB / 1.645 GB, free: 26.54 MB / 458.7 MB 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.02825/5.625, allocations: 10.94 MB / 1.656 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/5.631, allocations: 1.785 MB / 1.657 GB, free: 20.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/5.632, allocations: 461.7 kB / 1.658 GB, free: 20.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003837/5.636, allocations: 1.162 MB / 1.659 GB, free: 20 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 6.021e-06/5.636, allocations: 0 / 1.659 GB, free: 20 MB / 458.7 MB 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=181): time 0.05446/5.691, allocations: 10.97 MB / 1.67 GB, free: 18.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/5.691, allocations: 260.9 kB / 1.67 GB, free: 17.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/5.694, allocations: 1.34 MB / 1.671 GB, free: 17.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007434/5.695, allocations: 64.61 kB / 1.671 GB, free: 17.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/5.696, allocations: 0.8668 MB / 1.672 GB, free: 17.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/5.697, allocations: 0.6145 MB / 1.673 GB, free: 16.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/5.698, allocations: 42.91 kB / 1.673 GB, free: 16.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/5.698, allocations: 387.5 kB / 1.673 GB, free: 16.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/5.701, allocations: 1.017 MB / 1.674 GB, free: 16.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/5.706, allocations: 1.471 MB / 1.675 GB, free: 16.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004563/5.71, allocations: 1.292 MB / 1.677 GB, free: 16.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/5.71, allocations: 6.156 kB / 1.677 GB, free: 16.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01181/5.722, allocations: 3.112 MB / 1.68 GB, free: 15.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001929/5.724, allocations: 4.289 MB / 1.684 GB, free: 27.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/5.724, allocations: 10.5 kB / 1.684 GB, free: 27.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008447/5.725, allocations: 193.4 kB / 1.684 GB, free: 27.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004884/5.73, allocations: 0.5455 MB / 1.685 GB, free: 27.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/5.732, allocations: 2.327 MB / 1.687 GB, free: 25.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/5.737, allocations: 214.4 kB / 1.687 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/5.738, allocations: 188.5 kB / 1.687 GB, free: 25.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/5.738, allocations: 6.438 kB / 1.687 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01027/5.749, allocations: 2.838 MB / 1.69 GB, free: 25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/5.749, allocations: 13.11 kB / 1.69 GB, free: 25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/5.749, allocations: 191.9 kB / 1.69 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/5.754, allocations: 0.5377 MB / 1.691 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/5.756, allocations: 2.329 MB / 1.693 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/5.761, allocations: 211.1 kB / 1.693 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/5.762, allocations: 184.2 kB / 1.693 GB, free: 22.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * 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.002457/5.765, allocations: 0.6848 MB / 1.694 GB, free: 22.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007792/5.765, allocations: 207.2 kB / 1.694 GB, free: 22.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/5.779, allocations: 3.535 MB / 1.698 GB, free: 22.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/5.779, allocations: 22.36 kB / 1.698 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/5.779, allocations: 0 / 1.698 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007908/5.787, allocations: 2.773 MB / 1.701 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/5.807, allocations: 6.927 MB / 1.707 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/5.807, allocations: 11.78 kB / 1.707 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003861/5.811, allocations: 444.8 kB / 1.708 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007844/5.812, allocations: 188.6 kB / 1.708 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006234/5.813, allocations: 97.11 kB / 1.708 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/5.816, allocations: 3.082 MB / 1.711 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/5.816, allocations: 10.19 kB / 1.711 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/5.828, allocations: 4.73 MB / 1.716 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/5.831, allocations: 0.523 MB / 1.716 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009954/5.832, allocations: 63.48 kB / 1.716 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/5.835, allocations: 130.5 kB / 1.716 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006623/5.836, allocations: 173.7 kB / 1.716 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/5.836, allocations: 171 kB / 1.717 GB, free: 15.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002236/5.838, allocations: 1.018 MB / 1.718 GB, free: 15.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.71e-07/5.838, allocations: 0 / 1.718 GB, free: 15.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009014/5.847, allocations: 1.952 MB / 1.72 GB, free: 15.57 MB / 474.7 MB 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,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.02059/5.868, allocations: 9.3 MB / 1.729 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01202/5.88, allocations: 4.281 MB / 1.733 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/5.88, allocations: 2.938 kB / 1.733 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003996/5.884, allocations: 1.513 MB / 1.734 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008013/5.892, allocations: 0.9115 MB / 1.735 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/5.924, allocations: 16.07 MB / 1.751 GB, free: 16.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/5.926, allocations: 1.715 MB / 1.753 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009267/5.935, allocations: 1.349 MB / 1.754 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003447/5.938, allocations: 0.9728 MB / 1.755 GB, free: 15.51 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/5.938, allocations: 2.156 kB / 1.755 GB, free: 15.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6305/6.569, allocations: 93.56 MB / 1.846 GB, free: 55.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/6.569, allocations: 260.8 kB / 1.846 GB, free: 55.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/13.45, allocations: 0 / 1.846 GB, free: 55.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat