Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.01098/0.01098, allocations: 166.9 kB / 15.11 MB, free: 5.934 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.562/1.562, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002024/0.002023, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.4277/0.4277, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.000474, allocations: 16 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.735/7.84, allocations: 2.502 GB / 2.904 GB, free: 104.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/7.84, allocations: 84.86 kB / 2.904 GB, free: 104.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.046/9.886, allocations: 426.6 MB / 3.321 GB, free: 30.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/9.886, allocations: 0 / 3.321 GB, free: 30.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.389e-05/9.886, allocations: 23.2 kB / 3.321 GB, free: 30.29 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007639/9.894, allocations: 1.774 MB / 3.322 GB, free: 28.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/9.894, allocations: 12.03 kB / 3.322 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/9.894, allocations: 101.2 kB / 3.323 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/9.898, allocations: 310.1 kB / 3.323 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/9.899, allocations: 0.5882 MB / 3.323 GB, free: 27.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/9.899, allocations: 50.17 kB / 3.323 GB, free: 27.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/9.9, allocations: 52 kB / 3.324 GB, free: 27.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/9.903, allocations: 0.9937 MB / 3.325 GB, free: 26.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/9.903, allocations: 7.938 kB / 3.325 GB, free: 26.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/9.903, allocations: 28 kB / 3.325 GB, free: 26.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/9.903, allocations: 21 kB / 3.325 GB, free: 26.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/9.907, allocations: 0.893 MB / 3.325 GB, free: 26.04 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.007245/9.915, allocations: 4.721 MB / 3.33 GB, free: 21.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/9.918, allocations: 0.6746 MB / 3.331 GB, free: 20.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4061/10.32, allocations: 21.33 MB / 3.352 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/10.32, allocations: 37.84 kB / 3.352 GB, free: 39.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/10.32, allocations: 0 / 3.352 GB, free: 39.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.05694/10.38, allocations: 4.31 MB / 3.356 GB, free: 38.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/10.38, allocations: 112.1 kB / 3.356 GB, free: 38.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/10.38, allocations: 429.2 kB / 3.356 GB, free: 38.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/10.38, allocations: 39.17 kB / 3.356 GB, free: 38.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/10.38, allocations: 349.2 kB / 3.357 GB, free: 38.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/10.38, allocations: 209 kB / 3.357 GB, free: 38.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/10.38, allocations: 13.5 kB / 3.357 GB, free: 38.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/10.38, allocations: 369.7 kB / 3.357 GB, free: 38.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/10.38, allocations: 375.5 kB / 3.358 GB, free: 38.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/10.39, allocations: 0.5688 MB / 3.358 GB, free: 37.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/10.39, allocations: 440.2 kB / 3.359 GB, free: 37.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/10.39, allocations: 2.906 kB / 3.359 GB, free: 37.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005038/10.39, allocations: 1.243 MB / 3.36 GB, free: 37.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005998/10.39, allocations: 2.44 MB / 3.362 GB, free: 35.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/10.39, allocations: 9.797 kB / 3.362 GB, free: 35.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/10.4, allocations: 0.9036 MB / 3.363 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/10.4, allocations: 162.8 kB / 3.363 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/10.41, allocations: 1.688 MB / 3.365 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/10.41, allocations: 109 kB / 3.365 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/10.41, allocations: 45.44 kB / 3.365 GB, free: 34.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/10.41, allocations: 5.688 kB / 3.365 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/10.42, allocations: 1.18 MB / 3.366 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/10.42, allocations: 5.312 kB / 3.366 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/10.43, allocations: 0.6301 MB / 3.367 GB, free: 34.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/10.43, allocations: 166.1 kB / 3.367 GB, free: 34.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/10.44, allocations: 1.644 MB / 3.369 GB, free: 33.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/10.44, allocations: 105.5 kB / 3.369 GB, free: 33.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/10.44, allocations: 42.33 kB / 3.369 GB, free: 33.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001049/10.44, allocations: 304.2 kB / 3.369 GB, free: 32.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/10.44, allocations: 62.78 kB / 3.369 GB, free: 32.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/10.45, allocations: 3.801 MB / 3.373 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/10.45, allocations: 41.66 kB / 3.373 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/10.45, allocations: 0 / 3.373 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/10.45, allocations: 7.438 kB / 3.373 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/10.47, allocations: 5.084 MB / 3.378 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/10.47, allocations: 0 / 3.378 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/10.47, allocations: 110.8 kB / 3.378 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/10.48, allocations: 1.66 MB / 3.379 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/10.48, allocations: 24.55 kB / 3.38 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005722/10.49, allocations: 2.368 MB / 3.382 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/10.49, allocations: 0 / 3.382 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008047/10.49, allocations: 2.598 MB / 3.384 GB, free: 30.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009619/10.49, allocations: 348.7 kB / 3.385 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/10.5, allocations: 12.12 kB / 3.385 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/10.5, allocations: 106.7 kB / 3.385 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/10.5, allocations: 56.77 kB / 3.385 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/10.5, allocations: 34.72 kB / 3.385 GB, free: 30.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00109/10.5, allocations: 430.6 kB / 3.385 GB, free: 30.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/10.5, allocations: 0 / 3.385 GB, free: 30.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009358/10.51, allocations: 1.543 MB / 3.387 GB, free: 30.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02082/10.53, allocations: 4.748 MB / 3.391 GB, free: 29.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007718/10.54, allocations: 2.021 MB / 3.393 GB, free: 29.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/10.54, allocations: 0 / 3.393 GB, free: 29.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/10.54, allocations: 1.111 MB / 3.395 GB, free: 29.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/10.54, allocations: 302.4 kB / 3.395 GB, free: 29.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2633/10.81, allocations: 82.34 MB / 3.475 GB, free: 18.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/10.81, allocations: 1.179 MB / 3.476 GB, free: 17.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00182/10.81, allocations: 0.6527 MB / 3.477 GB, free: 17.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/10.81, allocations: 436.6 kB / 3.477 GB, free: 17.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/10.81, allocations: 0 / 3.477 GB, free: 17.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5298/11.34, allocations: 61.7 MB / 3.538 GB, free: 54.02 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/11.34, allocations: 263.1 kB / 3.538 GB, free: 53.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.353/16.69, allocations: 4 kB / 3.538 GB, free: 53.66 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat