Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.01027/0.01027, allocations: 162.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.696/1.696, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001967/0.001966, allocations: 106.6 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.4351/0.4351, allocations: 38.04 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004896, allocations: 11.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.661/7.769, allocations: 2.503 GB / 2.905 GB, free: 104.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/7.77, allocations: 84.11 kB / 2.905 GB, free: 104.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114/9.884, allocations: 427.7 MB / 3.322 GB, free: 29.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/9.884, allocations: 0 / 3.322 GB, free: 29.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.886e-05/9.884, allocations: 22.67 kB / 3.322 GB, free: 29.55 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008171/9.892, allocations: 1.814 MB / 3.324 GB, free: 27.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/9.892, allocations: 12.03 kB / 3.324 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/9.893, allocations: 101.2 kB / 3.324 GB, free: 27.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/9.896, allocations: 313.1 kB / 3.325 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/9.898, allocations: 0.5981 MB / 3.325 GB, free: 26.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/9.898, allocations: 50.17 kB / 3.325 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/9.898, allocations: 56 kB / 3.325 GB, free: 26.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/9.902, allocations: 1.018 MB / 3.326 GB, free: 26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/9.902, allocations: 3.938 kB / 3.326 GB, free: 26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/9.902, allocations: 28 kB / 3.326 GB, free: 25.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/9.902, allocations: 24.83 kB / 3.326 GB, free: 25.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/9.906, allocations: 0.9235 MB / 3.327 GB, free: 25.21 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.007533/9.914, allocations: 4.751 MB / 3.332 GB, free: 20.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/9.918, allocations: 0.8168 MB / 3.333 GB, free: 19.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3932/10.31, allocations: 21.31 MB / 3.353 GB, free: 38.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/10.31, allocations: 41.78 kB / 3.353 GB, free: 37.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.697e-06/10.31, allocations: 0 / 3.353 GB, free: 37.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.05254/10.36, allocations: 4.824 MB / 3.358 GB, free: 37.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/10.36, allocations: 114.6 kB / 3.358 GB, free: 37.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/10.36, allocations: 453.8 kB / 3.359 GB, free: 37.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/10.37, allocations: 41.64 kB / 3.359 GB, free: 37.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/10.37, allocations: 350.7 kB / 3.359 GB, free: 36.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/10.37, allocations: 231.1 kB / 3.359 GB, free: 36.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/10.37, allocations: 14.62 kB / 3.359 GB, free: 36.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/10.37, allocations: 372.7 kB / 3.36 GB, free: 36.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/10.37, allocations: 470.7 kB / 3.36 GB, free: 36.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/10.37, allocations: 0.665 MB / 3.361 GB, free: 36.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/10.37, allocations: 0.5062 MB / 3.361 GB, free: 36.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/10.37, allocations: 0 / 3.361 GB, free: 36.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006432/10.38, allocations: 1.504 MB / 3.363 GB, free: 36.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005682/10.38, allocations: 2.44 MB / 3.365 GB, free: 33.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/10.38, allocations: 9.969 kB / 3.365 GB, free: 33.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/10.39, allocations: 1.451 MB / 3.367 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/10.39, allocations: 176.6 kB / 3.367 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/10.4, allocations: 1.907 MB / 3.369 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/10.4, allocations: 116.3 kB / 3.369 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/10.4, allocations: 55.75 kB / 3.369 GB, free: 32.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/10.4, allocations: 6.281 kB / 3.369 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006695/10.41, allocations: 1.431 MB / 3.37 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/10.41, allocations: 2.656 kB / 3.37 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/10.41, allocations: 0.862 MB / 3.371 GB, free: 32.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/10.42, allocations: 187.7 kB / 3.371 GB, free: 32.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/10.42, allocations: 1.812 MB / 3.373 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/10.42, allocations: 124.3 kB / 3.373 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/10.42, allocations: 46.78 kB / 3.373 GB, free: 31.45 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006874/10.42, allocations: 304.8 kB / 3.373 GB, free: 31.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/10.42, allocations: 68.12 kB / 3.373 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00916/10.43, allocations: 4.04 MB / 3.377 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/10.43, allocations: 47.64 kB / 3.377 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/10.43, allocations: 1.125 kB / 3.377 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/10.43, allocations: 2.906 kB / 3.377 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/10.44, allocations: 5.529 MB / 3.383 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/10.44, allocations: 3.719 kB / 3.383 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/10.45, allocations: 107 kB / 3.383 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01298/10.46, allocations: 2.164 MB / 3.385 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/10.46, allocations: 23.64 kB / 3.385 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/10.46, allocations: 2.592 MB / 3.388 GB, free: 29.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/10.46, allocations: 3.969 kB / 3.388 GB, free: 29.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00786/10.47, allocations: 2.944 MB / 3.39 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/10.47, allocations: 362.5 kB / 3.391 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/10.47, allocations: 19.88 kB / 3.391 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/10.47, allocations: 105 kB / 3.391 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/10.47, allocations: 72.16 kB / 3.391 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/10.47, allocations: 30.16 kB / 3.391 GB, free: 28.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007914/10.48, allocations: 440.5 kB / 3.391 GB, free: 28.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.48, allocations: 3.75 kB / 3.391 GB, free: 28.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007706/10.48, allocations: 1.577 MB / 3.393 GB, free: 28.61 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01881/10.5, allocations: 5.03 MB / 3.398 GB, free: 27.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008568/10.51, allocations: 2.307 MB / 3.4 GB, free: 27.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/10.51, allocations: 0.9688 kB / 3.4 GB, free: 27.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/10.51, allocations: 1.205 MB / 3.401 GB, free: 27.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/10.52, allocations: 300.9 kB / 3.402 GB, free: 27.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2575/10.77, allocations: 82.46 MB / 3.482 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/10.78, allocations: 1.196 MB / 3.483 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002566/10.78, allocations: 0.6563 MB / 3.484 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/10.78, allocations: 447.4 kB / 3.484 GB, free: 11.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/10.78, allocations: 0 / 3.484 GB, free: 11.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5091/11.29, allocations: 64.59 MB / 3.547 GB, free: 50.84 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/11.29, allocations: 270 kB / 3.548 GB, free: 50.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.426/16.71, allocations: 0 / 3.548 GB, free: 50.48 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat