Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.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.BranchingPipes13,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes13",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.01546/0.01546, allocations: 174.6 kB / 15.12 MB, free: 5.934 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.007/2.007, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.00205/0.002049, allocations: 108.7 kB / 255.6 MB, free: 10.43 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.2567/0.2567, allocations: 40.02 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.000492, allocations: 10.44 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1024, allocations: 54.87 MB / 461.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.089/8.192, allocations: 2.656 GB / 3.107 GB, free: 6.996 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/8.192, allocations: 80.16 kB / 3.107 GB, free: 6.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.754/12.95, allocations: 0.8648 GB / 3.972 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.525e-06/12.95, allocations: 0 / 3.972 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000318/12.95, allocations: 62.53 kB / 3.972 GB, free: 37.35 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.01921/12.97, allocations: 4.086 MB / 3.976 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/12.97, allocations: 14.81 kB / 3.976 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001466/12.97, allocations: 274.4 kB / 3.976 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008619/12.98, allocations: 0.7797 MB / 3.977 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008185/12.98, allocations: 1.973 MB / 3.979 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/12.98, allocations: 161.3 kB / 3.979 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/12.99, allocations: 178.4 kB / 3.979 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/13, allocations: 3.289 MB / 3.982 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/13, allocations: 10.41 kB / 3.982 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005303/13, allocations: 81.83 kB / 3.982 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002901/13, allocations: 149.5 kB / 3.983 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/13.01, allocations: 3.021 MB / 3.985 GB, free: 34.31 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.0325/13.04, allocations: 14.05 MB / 3.999 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00764/13.05, allocations: 2.021 MB / 4.001 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05661/13.11, allocations: 18.89 MB / 4.02 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00645/13.11, allocations: 1.548 MB / 4.021 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001843/13.12, allocations: 171.3 kB / 4.021 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=146): time 9.047e-06/13.12, allocations: 0 / 4.021 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=158): time 0.03676/13.15, allocations: 8.188 MB / 4.029 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/13.15, allocations: 260.6 kB / 4.03 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/13.16, allocations: 1.354 MB / 4.031 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005441/13.16, allocations: 56.45 kB / 4.031 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/13.16, allocations: 0.8991 MB / 4.032 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009504/13.16, allocations: 0.5311 MB / 4.032 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/13.16, allocations: 40.94 kB / 4.032 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005882/13.16, allocations: 375.3 kB / 4.033 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/13.16, allocations: 1.012 MB / 4.034 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/13.17, allocations: 1.423 MB / 4.035 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/13.17, allocations: 1.251 MB / 4.036 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/13.17, allocations: 3.219 kB / 4.036 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01141/13.18, allocations: 3.125 MB / 4.039 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001964/13.18, allocations: 4.358 MB / 4.044 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/13.18, allocations: 17.56 kB / 4.044 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/13.19, allocations: 0.6093 MB / 4.044 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/13.19, allocations: 434.7 kB / 4.045 GB, free: 21.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/13.2, allocations: 2.836 MB / 4.047 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/13.2, allocations: 232.2 kB / 4.048 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006785/13.2, allocations: 93.77 kB / 4.048 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/13.2, allocations: 3.812 kB / 4.048 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009742/13.21, allocations: 2.728 MB / 4.05 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/13.21, allocations: 11.84 kB / 4.05 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/13.21, allocations: 209.9 kB / 4.051 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/13.22, allocations: 458.5 kB / 4.051 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/13.22, allocations: 1.882 MB / 4.053 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/13.22, allocations: 242 kB / 4.053 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/13.22, allocations: 90.22 kB / 4.053 GB, free: 16.2 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 (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_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,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 199 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.002345/13.23, allocations: 0.7054 MB / 4.054 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/13.23, allocations: 189.4 kB / 4.054 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/13.24, allocations: 7.439 MB / 4.061 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.872e-05/13.24, allocations: 87.39 kB / 4.061 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/13.24, allocations: 0 / 4.061 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01616/13.26, allocations: 6.509 MB / 4.068 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03354/13.29, allocations: 10.33 MB / 4.078 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/13.29, allocations: 0 / 4.078 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/13.3, allocations: 330.5 kB / 4.078 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007779/13.3, allocations: 1.367 MB / 4.079 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006535/13.3, allocations: 63.31 kB / 4.08 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005933/13.31, allocations: 3.479 MB / 4.083 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/13.31, allocations: 3.469 kB / 4.083 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/13.33, allocations: 7.229 MB / 4.09 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/13.34, allocations: 0.7035 MB / 4.091 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008075/13.34, allocations: 50.67 kB / 4.091 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/13.34, allocations: 189.9 kB / 4.091 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000608/13.34, allocations: 124.5 kB / 4.091 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/13.34, allocations: 70.19 kB / 4.091 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003167/13.35, allocations: 1.14 MB / 4.092 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.71e-07/13.35, allocations: 0 / 4.092 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01441/13.36, allocations: 2.706 MB / 4.095 GB, free: 0.8203 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (164): * Single equations (assignments): 138 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.5326/13.89, allocations: 10.07 MB / 4.105 GB, free: 66.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02082/13.91, allocations: 4.846 MB / 4.109 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/13.91, allocations: 0.5312 kB / 4.109 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007188/13.92, allocations: 2.306 MB / 4.112 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/13.93, allocations: 0.902 MB / 4.113 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3679/14.3, allocations: 139.3 MB / 4.249 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/14.3, allocations: 2.179 MB / 4.251 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006826/14.31, allocations: 2.165 MB / 4.253 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002867/14.31, allocations: 1.211 MB / 4.254 GB, free: 36.31 MB / 0.5417 GB Notification: Performance of SimCode: time 1.873e-06/14.31, allocations: 4 kB / 4.254 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7034/15.01, allocations: 109.6 MB / 4.361 GB, free: 43.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/15.02, allocations: 259.5 kB / 4.361 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/23, allocations: 0 / 4.361 GB, free: 43.55 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13_res.mat does not exist to compare? outputFormat=mat