Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.BranchingPipes3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes3",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.00987/0.00987, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.097/2.097, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002027/0.002026, allocations: 112.7 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.2576/0.2576, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 11.16 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.265/8.368, allocations: 2.673 GB / 3.124 GB, free: 75.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/8.368, allocations: 79.5 kB / 3.124 GB, free: 75.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.631/13, allocations: 0.8701 GB / 3.994 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/13, allocations: 0 / 3.994 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002513/13, allocations: 62.55 kB / 3.994 GB, free: 37.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01981/13.02, allocations: 4.026 MB / 3.998 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/13.02, allocations: 12.66 kB / 3.998 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/13.02, allocations: 271.8 kB / 3.998 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008729/13.03, allocations: 0.7875 MB / 3.999 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/13.04, allocations: 2.002 MB / 4.001 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/13.04, allocations: 160.5 kB / 4.001 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/13.04, allocations: 181.5 kB / 4.001 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/13.05, allocations: 3.262 MB / 4.004 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-05/13.05, allocations: 11.28 kB / 4.004 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/13.05, allocations: 81.3 kB / 4.004 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/13.05, allocations: 151.4 kB / 4.005 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/13.06, allocations: 2.942 MB / 4.007 GB, free: 34.6 MB / 0.5105 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.02652/13.09, allocations: 13.9 MB / 4.021 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/13.1, allocations: 2.037 MB / 4.023 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05764/13.16, allocations: 18.82 MB / 4.041 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006098/13.16, allocations: 1.586 MB / 4.043 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001717/13.16, allocations: 163 kB / 4.043 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=155): time 4.108e-06/13.16, allocations: 3.938 kB / 4.043 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=167): time 0.0376/13.2, allocations: 8.318 MB / 4.051 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/13.2, allocations: 257 kB / 4.051 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/13.2, allocations: 1.28 MB / 4.053 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006109/13.21, allocations: 57.7 kB / 4.053 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009496/13.21, allocations: 0.8944 MB / 4.054 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009399/13.21, allocations: 0.5531 MB / 4.054 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/13.21, allocations: 36 kB / 4.054 GB, free: 23.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002225/13.21, allocations: 380.9 kB / 4.055 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/13.21, allocations: 1.017 MB / 4.056 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/13.22, allocations: 1.455 MB / 4.057 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/13.22, allocations: 1.255 MB / 4.058 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/13.22, allocations: 4 kB / 4.058 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01117/13.23, allocations: 3.114 MB / 4.061 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001841/13.23, allocations: 4.368 MB / 4.066 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/13.23, allocations: 12 kB / 4.066 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/13.24, allocations: 0.5284 MB / 4.066 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/13.24, allocations: 458.4 kB / 4.066 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/13.25, allocations: 2.707 MB / 4.069 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/13.25, allocations: 265.8 kB / 4.069 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006219/13.25, allocations: 100.5 kB / 4.069 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/13.25, allocations: 4 kB / 4.069 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/13.26, allocations: 2.744 MB / 4.072 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.181e-05/13.26, allocations: 12 kB / 4.072 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/13.26, allocations: 211.2 kB / 4.072 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/13.27, allocations: 464.7 kB / 4.073 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/13.27, allocations: 1.877 MB / 4.075 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/13.27, allocations: 269.8 kB / 4.075 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/13.27, allocations: 99.06 kB / 4.075 GB, free: 2.992 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 29 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002178/13.27, allocations: 0.7161 MB / 4.076 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006843/13.28, allocations: 193.7 kB / 4.076 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4632/13.74, allocations: 7.434 MB / 4.083 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/13.74, allocations: 83.8 kB / 4.083 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/13.74, allocations: 3.781 kB / 4.083 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01535/13.75, allocations: 6.502 MB / 4.09 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/13.78, allocations: 11.23 MB / 4.101 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/13.78, allocations: 3.062 kB / 4.101 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/13.78, allocations: 356.3 kB / 4.101 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004293/13.79, allocations: 1.179 MB / 4.102 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005439/13.79, allocations: 67.25 kB / 4.102 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003106/13.79, allocations: 3.206 MB / 4.105 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/13.79, allocations: 5.125 kB / 4.105 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/13.81, allocations: 7.461 MB / 4.113 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/13.81, allocations: 0.7085 MB / 4.113 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007832/13.81, allocations: 55.16 kB / 4.113 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/13.81, allocations: 191.2 kB / 4.113 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/13.81, allocations: 155.8 kB / 4.114 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/13.81, allocations: 72.33 kB / 4.114 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002465/13.82, allocations: 1.086 MB / 4.115 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/13.82, allocations: 3.531 kB / 4.115 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01327/13.83, allocations: 2.599 MB / 4.117 GB, free: 46.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 55 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.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,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 (177): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.03058/13.86, allocations: 11.55 MB / 4.129 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01362/13.87, allocations: 4.871 MB / 4.133 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/13.87, allocations: 3.125 kB / 4.133 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005811/13.88, allocations: 2.508 MB / 4.136 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008183/13.89, allocations: 0.9106 MB / 4.137 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3516/14.24, allocations: 139.5 MB / 4.273 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/14.24, allocations: 2.188 MB / 4.275 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007893/14.25, allocations: 2.356 MB / 4.277 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4596/14.71, allocations: 1.231 MB / 4.278 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/14.71, allocations: 1.938 kB / 4.278 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/14.96, allocations: 108.7 MB / 4.385 GB, free: 57.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/14.96, allocations: 257.8 kB / 4.385 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/22.34, allocations: 0 / 4.385 GB, free: 56.98 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3_res.mat does not exist to compare? outputFormat=mat