Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",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.01054/0.01055, allocations: 165.9 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.599/1.599, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001985/0.001985, allocations: 110.5 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.4466/0.4466, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 15.98 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.769/7.88, allocations: 2.545 GB / 2.947 GB, free: 92.15 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/7.88, allocations: 75.27 kB / 2.947 GB, free: 92.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.118/9.998, allocations: 454.1 MB / 3.39 GB, free: 24.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.364e-06/9.998, allocations: 0 / 3.39 GB, free: 24.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.172e-05/9.998, allocations: 30.47 kB / 3.39 GB, free: 24.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01005/10.01, allocations: 2.207 MB / 3.392 GB, free: 23.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/10.01, allocations: 10.84 kB / 3.392 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004356/10.01, allocations: 131.1 kB / 3.393 GB, free: 23.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/10.01, allocations: 362.1 kB / 3.393 GB, free: 23.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/10.02, allocations: 0.8899 MB / 3.394 GB, free: 22.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/10.02, allocations: 79.72 kB / 3.394 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/10.02, allocations: 67.25 kB / 3.394 GB, free: 22.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/10.02, allocations: 1.489 MB / 3.395 GB, free: 21.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/10.02, allocations: 7.891 kB / 3.395 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/10.02, allocations: 31.81 kB / 3.395 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/10.02, allocations: 56.38 kB / 3.395 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/10.03, allocations: 1.343 MB / 3.397 GB, free: 21.28 MB / 442.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.01126/10.04, allocations: 6.562 MB / 3.403 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/10.04, allocations: 1.023 MB / 3.404 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4355/10.48, allocations: 31.93 MB / 3.435 GB, free: 45.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/10.48, allocations: 47.89 kB / 3.435 GB, free: 45.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.757e-06/10.48, allocations: 0 / 3.435 GB, free: 45.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.01452/10.49, allocations: 3.343 MB / 3.439 GB, free: 45.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/10.49, allocations: 193 kB / 3.439 GB, free: 45.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/10.49, allocations: 0.6455 MB / 3.439 GB, free: 44.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/10.49, allocations: 36.33 kB / 3.44 GB, free: 44.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/10.49, allocations: 417 kB / 3.44 GB, free: 44.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/10.49, allocations: 210.4 kB / 3.44 GB, free: 44.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/10.49, allocations: 14.75 kB / 3.44 GB, free: 44.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/10.49, allocations: 395.8 kB / 3.441 GB, free: 44.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/10.5, allocations: 421.1 kB / 3.441 GB, free: 44.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/10.5, allocations: 0.6241 MB / 3.442 GB, free: 44.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/10.5, allocations: 495.3 kB / 3.442 GB, free: 44.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/10.5, allocations: 1.375 kB / 3.442 GB, free: 44.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004352/10.5, allocations: 1.363 MB / 3.443 GB, free: 43.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005049/10.5, allocations: 2.267 MB / 3.446 GB, free: 41.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/10.5, allocations: 7.812 kB / 3.446 GB, free: 41.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005405/10.51, allocations: 0.6808 MB / 3.446 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/10.51, allocations: 167.8 kB / 3.446 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/10.51, allocations: 1.301 MB / 3.448 GB, free: 41.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/10.51, allocations: 106.6 kB / 3.448 GB, free: 41.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/10.52, allocations: 39.44 kB / 3.448 GB, free: 41.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/10.52, allocations: 3.219 kB / 3.448 GB, free: 41.09 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004343/10.52, allocations: 1.231 MB / 3.449 GB, free: 41.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/10.52, allocations: 9.75 kB / 3.449 GB, free: 41.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/10.52, allocations: 424.3 kB / 3.449 GB, free: 41.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/10.52, allocations: 173.7 kB / 3.45 GB, free: 41.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/10.53, allocations: 1.105 MB / 3.451 GB, free: 40.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/10.53, allocations: 106.3 kB / 3.451 GB, free: 40.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/10.53, allocations: 41.89 kB / 3.451 GB, free: 40.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007861/10.53, allocations: 362.9 kB / 3.451 GB, free: 40.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/10.53, allocations: 93.14 kB / 3.451 GB, free: 40.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006593/10.54, allocations: 3.339 MB / 3.454 GB, free: 39.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/10.54, allocations: 43.88 kB / 3.455 GB, free: 39.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/10.54, allocations: 3.469 kB / 3.455 GB, free: 39.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004855/10.54, allocations: 2.794 MB / 3.457 GB, free: 39.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/10.55, allocations: 4.603 MB / 3.462 GB, free: 39.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/10.55, allocations: 6.438 kB / 3.462 GB, free: 39.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/10.55, allocations: 179.1 kB / 3.462 GB, free: 39.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/10.55, allocations: 98.52 kB / 3.462 GB, free: 39.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/10.55, allocations: 26.92 kB / 3.462 GB, free: 39.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004545/10.55, allocations: 0.638 MB / 3.463 GB, free: 38.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/10.55, allocations: 6.406 kB / 3.463 GB, free: 38.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/10.56, allocations: 2.953 MB / 3.466 GB, free: 38.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/10.56, allocations: 456.9 kB / 3.466 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/10.56, allocations: 25.16 kB / 3.466 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/10.56, allocations: 86.59 kB / 3.466 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/10.56, allocations: 61 kB / 3.466 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/10.56, allocations: 32.69 kB / 3.466 GB, free: 37.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001492/10.56, allocations: 0.7976 MB / 3.467 GB, free: 37.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.412e-06/10.56, allocations: 0 / 3.467 GB, free: 37.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007733/10.57, allocations: 1.73 MB / 3.469 GB, free: 37.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01756/10.59, allocations: 5.498 MB / 3.474 GB, free: 36.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005847/10.59, allocations: 1.873 MB / 3.476 GB, free: 36.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/10.59, allocations: 0 / 3.476 GB, free: 36.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/10.59, allocations: 0.8975 MB / 3.477 GB, free: 36.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/10.6, allocations: 483.5 kB / 3.477 GB, free: 36.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/10.61, allocations: 8.888 MB / 3.486 GB, free: 30.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/10.61, allocations: 1.347 MB / 3.487 GB, free: 29.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002533/10.62, allocations: 0.9044 MB / 3.488 GB, free: 29.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/10.62, allocations: 0.5611 MB / 3.489 GB, free: 29.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/10.62, allocations: 3.062 kB / 3.489 GB, free: 29.76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/10.77, allocations: 65.97 MB / 3.553 GB, free: 26.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/10.78, allocations: 256.2 kB / 3.553 GB, free: 26.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.423/16.2, allocations: 0 / 3.553 GB, free: 26.38 MB / 458.7 MB