Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes1",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.01005/0.01005, allocations: 165 kB / 15.11 MB, free: 6 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.729/1.729, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.001958/0.001957, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.44/0.44, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005372, allocations: 11.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/7.983, allocations: 2.545 GB / 2.947 GB, free: 63.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/7.984, allocations: 82.77 kB / 2.947 GB, free: 63.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.404/12.39, allocations: 0.7776 GB / 3.725 GB, free: 29.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/12.39, allocations: 0 / 3.725 GB, free: 29.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003408/12.39, allocations: 68.94 kB / 3.725 GB, free: 29.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.02217/12.41, allocations: 4.131 MB / 3.729 GB, free: 27.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/12.41, allocations: 9.281 kB / 3.729 GB, free: 27.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001508/12.41, allocations: 292.1 kB / 3.729 GB, free: 27.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008894/12.42, allocations: 0.8121 MB / 3.73 GB, free: 27.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008636/12.43, allocations: 2.09 MB / 3.732 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/12.43, allocations: 176.5 kB / 3.732 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009782/12.43, allocations: 202.2 kB / 3.733 GB, free: 27.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/12.44, allocations: 3.716 MB / 3.736 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.873e-05/12.44, allocations: 5.031 kB / 3.736 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/12.44, allocations: 87.12 kB / 3.736 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/12.44, allocations: 162 kB / 3.736 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/12.46, allocations: 3.537 MB / 3.74 GB, free: 26.68 MB / 474.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.03057/12.49, allocations: 14.74 MB / 3.754 GB, free: 18.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008651/12.5, allocations: 2.195 MB / 3.756 GB, free: 18.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/12.56, allocations: 18.86 MB / 3.775 GB, free: 22.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007361/12.56, allocations: 1.657 MB / 3.777 GB, free: 22.11 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001863/12.57, allocations: 193.4 kB / 3.777 GB, free: 22.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=158): time 5.941e-06/12.57, allocations: 1.688 kB / 3.777 GB, free: 22.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=170): time 0.04335/12.61, allocations: 9.155 MB / 3.786 GB, free: 20.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002545/12.61, allocations: 411.4 kB / 3.786 GB, free: 20.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/12.61, allocations: 1.499 MB / 3.788 GB, free: 20.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006208/12.61, allocations: 64.27 kB / 3.788 GB, free: 20.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/12.61, allocations: 0.9924 MB / 3.789 GB, free: 19.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009806/12.62, allocations: 0.5794 MB / 3.789 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/12.62, allocations: 42.69 kB / 3.789 GB, free: 19.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/12.62, allocations: 387.1 kB / 3.79 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/12.62, allocations: 1.155 MB / 3.791 GB, free: 19.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/12.62, allocations: 1.616 MB / 3.792 GB, free: 18.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/12.63, allocations: 1.41 MB / 3.794 GB, free: 18.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/12.63, allocations: 0 / 3.794 GB, free: 18.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01121/12.64, allocations: 3.534 MB / 3.797 GB, free: 18.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00178/12.64, allocations: 4.582 MB / 3.802 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-05/12.64, allocations: 12.78 kB / 3.802 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008583/12.65, allocations: 0.9938 MB / 3.802 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/12.65, allocations: 470.5 kB / 3.803 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/12.66, allocations: 3.174 MB / 3.806 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/12.66, allocations: 228.3 kB / 3.806 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/12.66, allocations: 108.6 kB / 3.806 GB, free: 11.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/12.66, allocations: 5.094 kB / 3.806 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/12.67, allocations: 3.2 MB / 3.809 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-05/12.67, allocations: 18.53 kB / 3.81 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/12.68, allocations: 366.8 kB / 3.81 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/12.68, allocations: 496.9 kB / 3.81 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/12.69, allocations: 4.116 MB / 3.814 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/12.69, allocations: 227.3 kB / 3.815 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000729/12.69, allocations: 105.3 kB / 3.815 GB, free: 24.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * 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,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.002529/12.69, allocations: 0.7648 MB / 3.815 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/12.69, allocations: 209.7 kB / 3.816 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/12.71, allocations: 7.853 MB / 3.823 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/12.71, allocations: 77.64 kB / 3.823 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/12.71, allocations: 0 / 3.823 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01434/12.73, allocations: 6.892 MB / 3.83 GB, free: 22.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/12.75, allocations: 10.88 MB / 3.841 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/12.75, allocations: 7.312 kB / 3.841 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/12.75, allocations: 338 kB / 3.841 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008084/12.76, allocations: 2.149 MB / 3.843 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006091/12.76, allocations: 65.66 kB / 3.843 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/12.77, allocations: 4.117 MB / 3.847 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/12.77, allocations: 0 / 3.847 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/12.78, allocations: 7.967 MB / 3.855 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/12.79, allocations: 0.7495 MB / 3.856 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008152/12.79, allocations: 48.92 kB / 3.856 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/12.79, allocations: 194.6 kB / 3.856 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/12.79, allocations: 139.2 kB / 3.856 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/12.79, allocations: 65.62 kB / 3.856 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002915/12.79, allocations: 1.258 MB / 3.857 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.52e-07/12.79, allocations: 0 / 3.857 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01354/12.81, allocations: 2.806 MB / 3.86 GB, free: 16.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve1.filter.x[1],valve1.filter.x[2],valve2.filter.x[1],valve2.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,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 (168): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * 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,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.03249/12.84, allocations: 10.49 MB / 3.87 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01569/12.86, allocations: 5.483 MB / 3.876 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/12.86, allocations: 0 / 3.876 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005763/12.86, allocations: 2.378 MB / 3.878 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008004/12.87, allocations: 0.8824 MB / 3.879 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7527/13.62, allocations: 138.3 MB / 4.014 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/13.63, allocations: 2.291 MB / 4.016 GB, free: 34.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006377/13.63, allocations: 2.191 MB / 4.018 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/13.63, allocations: 1.295 MB / 4.02 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/13.63, allocations: 0 / 4.02 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6496/14.28, allocations: 114.9 MB / 4.132 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/14.28, allocations: 262.5 kB / 4.132 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/22.55, allocations: 7.094 kB / 4.132 GB, free: 50.26 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1_res.mat does not exist to compare? outputFormat=mat