Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",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.01434/0.01434, allocations: 174.2 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.306/2.306, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002042/0.002042, 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.2544/0.2544, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 15.44 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09738, allocations: 54.88 MB / 461.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.336, allocations: 315.9 MB / 0.7588 GB, free: 120.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003959/1.336, allocations: 86.28 kB / 0.7589 GB, free: 120.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9371/2.273, allocations: 163.7 MB / 0.9188 GB, free: 111.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/2.273, allocations: 3.609 kB / 0.9188 GB, free: 111.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001068/2.273, allocations: 18.81 kB / 0.9188 GB, free: 111.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004875/2.278, allocations: 1.145 MB / 0.9199 GB, free: 111.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/2.278, allocations: 9.844 kB / 0.9199 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003276/2.279, allocations: 92.7 kB / 0.92 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/2.279, allocations: 98.41 kB / 0.9201 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/2.281, allocations: 0.6339 MB / 0.9207 GB, free: 110.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/2.281, allocations: 42.58 kB / 0.9208 GB, free: 110.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/2.281, allocations: 49.11 kB / 0.9208 GB, free: 110.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/2.284, allocations: 0.8353 MB / 0.9216 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/2.284, allocations: 7.422 kB / 0.9217 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/2.284, allocations: 28.7 kB / 0.9217 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/2.284, allocations: 18.97 kB / 0.9217 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/2.287, allocations: 0.7891 MB / 0.9225 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/2.294, allocations: 3.301 MB / 0.9257 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/2.296, allocations: 476.7 kB / 0.9261 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004427/2.296, allocations: 0.5745 MB / 0.9267 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/2.296, allocations: 43.34 kB / 0.9268 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001314/2.298, allocations: 119.1 kB / 0.9269 GB, free: 108.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 4.819e-06/2.298, allocations: 0 / 0.9269 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.0756/2.373, allocations: 7.44 MB / 0.9341 GB, free: 107.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/2.373, allocations: 110.7 kB / 0.9342 GB, free: 107.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/2.374, allocations: 0.4906 MB / 0.9347 GB, free: 107 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/2.374, allocations: 40.86 kB / 0.9348 GB, free: 107 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/2.375, allocations: 374.9 kB / 0.9351 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/2.375, allocations: 254.5 kB / 0.9354 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/2.375, allocations: 14.72 kB / 0.9354 GB, free: 106.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/2.375, allocations: 381.7 kB / 0.9357 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/2.377, allocations: 490 kB / 0.9362 GB, free: 106.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/2.38, allocations: 0.7292 MB / 0.9369 GB, free: 106.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/2.382, allocations: 0.5382 MB / 0.9374 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/2.382, allocations: 3.125 kB / 0.9374 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006278/2.389, allocations: 1.505 MB / 0.9389 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006409/2.389, allocations: 2.964 MB / 0.9418 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/2.389, allocations: 10.75 kB / 0.9418 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/2.402, allocations: 1.224 MB / 0.943 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/2.404, allocations: 249.1 kB / 0.9432 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/2.408, allocations: 1.628 MB / 0.9448 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/2.41, allocations: 123.5 kB / 0.945 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/2.41, allocations: 57.34 kB / 0.945 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/2.41, allocations: 3.906 kB / 0.945 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006268/2.417, allocations: 1.413 MB / 0.9464 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/2.417, allocations: 7.812 kB / 0.9464 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/2.42, allocations: 422.9 kB / 0.9468 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/2.422, allocations: 265.9 kB / 0.9471 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/2.427, allocations: 2.697 MB / 0.9497 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/2.429, allocations: 127.1 kB / 0.9498 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/2.429, allocations: 58.31 kB / 0.9499 GB, free: 99.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007288/2.43, allocations: 299.7 kB / 0.9502 GB, free: 99.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/2.43, allocations: 81.23 kB / 0.9502 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008224/2.439, allocations: 1.82 MB / 0.952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/2.439, allocations: 21.52 kB / 0.952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/2.439, allocations: 0 / 0.952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/2.439, allocations: 2.719 kB / 0.952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/2.45, allocations: 2.762 MB / 0.9547 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/2.45, allocations: 0 / 0.9547 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/2.451, allocations: 178.2 kB / 0.9549 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/2.462, allocations: 1.191 MB / 0.9561 GB, free: 99.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/2.462, allocations: 28.56 kB / 0.9561 GB, free: 99.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/2.465, allocations: 1.559 MB / 0.9576 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.465, allocations: 2.938 kB / 0.9576 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009708/2.474, allocations: 2.211 MB / 0.9598 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/2.475, allocations: 257 kB / 0.96 GB, free: 97.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/2.475, allocations: 19.31 kB / 0.96 GB, free: 97.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/2.477, allocations: 121.5 kB / 0.9602 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/2.477, allocations: 66.59 kB / 0.9602 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/2.477, allocations: 45.75 kB / 0.9603 GB, free: 97.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006788/2.478, allocations: 379.5 kB / 0.9606 GB, free: 97.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.478, allocations: 3.031 kB / 0.9606 GB, free: 97.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003247/2.481, allocations: 0.6718 MB / 0.9613 GB, free: 97.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/2.493, allocations: 3.243 MB / 0.9645 GB, free: 96.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/2.503, allocations: 2.11 MB / 0.9665 GB, free: 96.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/2.503, allocations: 0 / 0.9665 GB, free: 96.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002951/2.506, allocations: 0.6633 MB / 0.9672 GB, free: 96.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/2.509, allocations: 300 kB / 0.9674 GB, free: 96.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008161/2.518, allocations: 7.8 MB / 0.9751 GB, free: 89.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/2.518, allocations: 1 MB / 0.976 GB, free: 89.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001967/2.52, allocations: 254.8 kB / 0.9763 GB, free: 89.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000847/2.521, allocations: 327.2 kB / 0.9766 GB, free: 89.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.521, allocations: 0 / 0.9766 GB, free: 89.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08632/2.607, allocations: 32.79 MB / 1.009 GB, free: 81.31 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/2.608, allocations: 285.3 kB / 1.009 GB, free: 80.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/6.789, allocations: 64 / 1.009 GB, free: 80.94 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat