Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes4",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.01055/0.01055, allocations: 166.7 kB / 15.11 MB, free: 5.93 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.645/1.645, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002066/0.002066, allocations: 107 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.506/0.506, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.000492, allocations: 19.98 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 48.69 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.744/7.856, allocations: 2.55 GB / 2.952 GB, free: 60 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/7.857, allocations: 81.33 kB / 2.952 GB, free: 59.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.657/12.51, allocations: 0.8785 GB / 3.83 GB, free: 26.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/12.51, allocations: 0 / 3.83 GB, free: 26.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000251/12.51, allocations: 61.19 kB / 3.83 GB, free: 26.44 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01928/12.53, allocations: 4.175 MB / 3.834 GB, free: 24.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/12.53, allocations: 7.062 kB / 3.834 GB, free: 24.37 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/12.54, allocations: 302.9 kB / 3.835 GB, free: 24.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009149/12.54, allocations: 0.8522 MB / 3.835 GB, free: 24.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008744/12.55, allocations: 2.082 MB / 3.837 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/12.55, allocations: 187.3 kB / 3.838 GB, free: 23.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/12.55, allocations: 195.8 kB / 3.838 GB, free: 23.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/12.57, allocations: 3.68 MB / 3.841 GB, free: 23.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.785e-05/12.57, allocations: 11.44 kB / 3.841 GB, free: 23.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/12.57, allocations: 85.7 kB / 3.842 GB, free: 23.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/12.57, allocations: 173 kB / 3.842 GB, free: 23.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/12.58, allocations: 3.419 MB / 3.845 GB, free: 23.07 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.02838/12.61, allocations: 15.39 MB / 3.86 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009554/12.62, allocations: 2.26 MB / 3.862 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0585/12.68, allocations: 18.86 MB / 3.881 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007069/12.68, allocations: 1.677 MB / 3.882 GB, free: 14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 5.981e-06/12.68, allocations: 4 kB / 3.882 GB, free: 14 MB / 490.7 MB Notification: Performance of matching and sorting (n=175): time 0.0411/12.73, allocations: 8.999 MB / 3.891 GB, free: 8.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/12.73, allocations: 257.3 kB / 3.891 GB, free: 7.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/12.73, allocations: 1.451 MB / 3.893 GB, free: 6.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005996/12.73, allocations: 61.7 kB / 3.893 GB, free: 6.664 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/12.73, allocations: 0.988 MB / 3.894 GB, free: 5.762 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/12.73, allocations: 0.5901 MB / 3.894 GB, free: 5.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/12.73, allocations: 40 kB / 3.894 GB, free: 5.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/12.73, allocations: 386 kB / 3.895 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/12.74, allocations: 1.125 MB / 3.896 GB, free: 3.891 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/12.74, allocations: 1.579 MB / 3.897 GB, free: 2.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/12.75, allocations: 1.368 MB / 3.899 GB, free: 1.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/12.75, allocations: 8 kB / 3.899 GB, free: 1.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.4241/13.17, allocations: 3.292 MB / 3.902 GB, free: 41.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001488/13.17, allocations: 5.015 MB / 3.907 GB, free: 36.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/13.17, allocations: 11.97 kB / 3.907 GB, free: 36.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/13.18, allocations: 251 kB / 3.907 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/13.18, allocations: 0.5175 MB / 3.908 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/13.18, allocations: 2.435 MB / 3.91 GB, free: 34.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/13.19, allocations: 273.6 kB / 3.91 GB, free: 34.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005897/13.19, allocations: 104.2 kB / 3.91 GB, free: 34.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/13.19, allocations: 3.969 kB / 3.91 GB, free: 34.38 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01013/13.2, allocations: 3.034 MB / 3.913 GB, free: 34.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/13.2, allocations: 13.69 kB / 3.913 GB, free: 34.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/13.2, allocations: 250.6 kB / 3.914 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/13.2, allocations: 0.5133 MB / 3.914 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/13.2, allocations: 2.433 MB / 3.916 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/13.21, allocations: 269.8 kB / 3.917 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/13.21, allocations: 107.7 kB / 3.917 GB, free: 32.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 28 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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,splitter.medium.phase,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 (247): * Single equations (assignments): 241 * 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.002217/13.21, allocations: 0.7494 MB / 3.918 GB, free: 31.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/13.21, allocations: 203.2 kB / 3.918 GB, free: 31.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/13.23, allocations: 7.625 MB / 3.925 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-05/13.23, allocations: 84.2 kB / 3.925 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/13.23, allocations: 0 / 3.925 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01373/13.24, allocations: 6.659 MB / 3.932 GB, free: 30.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/13.27, allocations: 10.85 MB / 3.942 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/13.27, allocations: 0 / 3.942 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/13.27, allocations: 412.7 kB / 3.943 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/13.27, allocations: 363 kB / 3.943 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004853/13.27, allocations: 64.78 kB / 3.943 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/13.27, allocations: 2.52 MB / 3.946 GB, free: 27.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/13.27, allocations: 1.969 kB / 3.946 GB, free: 27.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/13.29, allocations: 7.132 MB / 3.953 GB, free: 27.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/13.29, allocations: 0.7454 MB / 3.953 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000749/13.3, allocations: 55.97 kB / 3.953 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/13.3, allocations: 210.5 kB / 3.954 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/13.3, allocations: 150.2 kB / 3.954 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/13.3, allocations: 70.98 kB / 3.954 GB, free: 26.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002944/13.3, allocations: 1.216 MB / 3.955 GB, free: 26.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/13.3, allocations: 1.375 kB / 3.955 GB, free: 26.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0138/13.32, allocations: 2.814 MB / 3.958 GB, free: 26.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.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,splitter.medium.phase) * 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 (200): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * 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 Backend phase and start with SimCode phase: time 0.03352/13.35, allocations: 10.49 MB / 3.968 GB, free: 25.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0225/13.37, allocations: 5.204 MB / 3.973 GB, free: 24.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/13.37, allocations: 2.656 kB / 3.973 GB, free: 24.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009218/13.38, allocations: 2.426 MB / 3.975 GB, free: 24.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/13.39, allocations: 0.9542 MB / 3.976 GB, free: 24.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8496/14.24, allocations: 139 MB / 4.112 GB, free: 43.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/14.25, allocations: 2.274 MB / 4.114 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008551/14.26, allocations: 2.438 MB / 4.117 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/14.26, allocations: 1.321 MB / 4.118 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.753e-06/14.26, allocations: 2.219 kB / 4.118 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2514/14.51, allocations: 113.7 MB / 4.229 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/14.51, allocations: 250.9 kB / 4.229 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/22.65, allocations: 8 kB / 4.229 GB, free: 19.06 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4_res.mat does not exist to compare? outputFormat=mat