Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01083/0.01083, allocations: 177 kB / 15.12 MB, free: 5.93 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 1.879/1.879, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002054/0.002054, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2475/0.2475, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004847, allocations: 11.78 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 54.88 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.835/7.944, allocations: 2.656 GB / 3.106 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/7.944, allocations: 80.97 kB / 3.106 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.533/12.48, allocations: 0.7968 GB / 3.903 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/12.48, allocations: 0 / 3.903 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003591/12.48, allocations: 65.77 kB / 3.903 GB, free: 38.54 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.02345/12.5, allocations: 4.241 MB / 3.907 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/12.5, allocations: 11.03 kB / 3.907 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001665/12.5, allocations: 300.6 kB / 3.908 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009042/12.51, allocations: 0.8389 MB / 3.909 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008981/12.52, allocations: 2.114 MB / 3.911 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/12.52, allocations: 178.8 kB / 3.911 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/12.52, allocations: 191.7 kB / 3.911 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/12.54, allocations: 3.713 MB / 3.915 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.5e-05/12.54, allocations: 8.406 kB / 3.915 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/12.54, allocations: 91.17 kB / 3.915 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/12.54, allocations: 167.4 kB / 3.915 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/12.55, allocations: 3.543 MB / 3.918 GB, free: 35.45 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.02975/12.58, allocations: 14.78 MB / 3.933 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/12.59, allocations: 2.202 MB / 3.935 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0565/12.65, allocations: 18.87 MB / 3.953 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006712/12.65, allocations: 1.67 MB / 3.955 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00187/12.65, allocations: 192.5 kB / 3.955 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 8.025e-06/12.65, allocations: 0 / 3.955 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.04163/12.7, allocations: 9.132 MB / 3.964 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/12.7, allocations: 412.2 kB / 3.964 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/12.7, allocations: 1.511 MB / 3.966 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/12.7, allocations: 62.92 kB / 3.966 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/12.7, allocations: 0.9866 MB / 3.967 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/12.7, allocations: 0.5917 MB / 3.967 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/12.7, allocations: 39.69 kB / 3.968 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000156/12.7, allocations: 387.3 kB / 3.968 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/12.71, allocations: 1.159 MB / 3.969 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/12.71, allocations: 1.632 MB / 3.971 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/12.72, allocations: 1.422 MB / 3.972 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/12.72, allocations: 6.625 kB / 3.972 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01077/12.73, allocations: 3.51 MB / 3.975 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002093/12.73, allocations: 4.579 MB / 3.98 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/12.73, allocations: 13.31 kB / 3.98 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/12.74, allocations: 0.9888 MB / 3.981 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/12.74, allocations: 476.4 kB / 3.981 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/12.75, allocations: 3.161 MB / 3.984 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/12.75, allocations: 237.7 kB / 3.985 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007019/12.75, allocations: 104.5 kB / 3.985 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/12.75, allocations: 3.938 kB / 3.985 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/12.76, allocations: 3.184 MB / 3.988 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.448e-05/12.76, allocations: 17 kB / 3.988 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/12.76, allocations: 368 kB / 3.988 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/12.77, allocations: 0.4888 MB / 3.989 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/12.77, allocations: 4.1 MB / 3.993 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/12.78, allocations: 238.9 kB / 3.993 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/12.78, allocations: 108.2 kB / 3.993 GB, free: 16.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 29 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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.002341/12.78, allocations: 0.7643 MB / 3.994 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/12.78, allocations: 211.8 kB / 3.994 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/12.8, allocations: 7.855 MB / 4.002 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.505e-05/12.8, allocations: 83.31 kB / 4.002 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/12.8, allocations: 0 / 4.002 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0139/12.81, allocations: 6.863 MB / 4.008 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/12.84, allocations: 10.9 MB / 4.019 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/12.84, allocations: 1.188 kB / 4.019 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/12.84, allocations: 342.3 kB / 4.019 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008208/12.85, allocations: 2.144 MB / 4.022 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005925/12.85, allocations: 68.38 kB / 4.022 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/12.85, allocations: 4.107 MB / 4.026 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/12.85, allocations: 0 / 4.026 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/12.87, allocations: 7.977 MB / 4.033 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002591/12.87, allocations: 0.7571 MB / 4.034 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/12.87, allocations: 53.23 kB / 4.034 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/12.88, allocations: 196.3 kB / 4.034 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007382/12.88, allocations: 139.6 kB / 4.034 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/12.88, allocations: 74.27 kB / 4.035 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003311/12.88, allocations: 1.256 MB / 4.036 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.894e-06/12.88, allocations: 0 / 4.036 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01436/12.9, allocations: 2.827 MB / 4.039 GB, free: 7.543 MB / 0.5261 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: 55 ($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,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 (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.03301/12.93, allocations: 10.53 MB / 4.049 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01663/12.95, allocations: 5.594 MB / 4.054 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/12.95, allocations: 0 / 4.054 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006189/12.95, allocations: 2.426 MB / 4.057 GB, free: 28 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008461/12.96, allocations: 0.9045 MB / 4.058 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8249/13.79, allocations: 140.6 MB / 4.195 GB, free: 44.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/13.79, allocations: 2.297 MB / 4.197 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006734/13.8, allocations: 2.197 MB / 4.199 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/13.8, allocations: 1.301 MB / 4.201 GB, free: 43.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.372e-06/13.8, allocations: 0 / 4.201 GB, free: 43.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6854/14.48, allocations: 115.6 MB / 4.313 GB, free: 75.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/14.48, allocations: 258.1 kB / 4.314 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/22.69, allocations: 1.844 kB / 4.314 GB, free: 75.29 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1_res.mat does not exist to compare? outputFormat=mat