Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.01406/0.01406, allocations: 174.1 kB / 15.12 MB, free: 5.984 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.083/2.083, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002051/0.00205, allocations: 120.6 kB / 255.6 MB, free: 11.2 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.2533/0.2533, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 16.62 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09847, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.2413, allocations: 80.51 MB / 0.5289 GB, free: 2.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.2416, allocations: 67.97 kB / 0.529 GB, free: 2.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3813/0.6229, allocations: 8.206 MB / 0.537 GB, free: 80.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.623, allocations: 1.406 kB / 0.537 GB, free: 80.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.623, allocations: 0 / 0.537 GB, free: 80.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003536/0.6234, allocations: 344.2 kB / 0.5374 GB, free: 80.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6234, allocations: 9.844 kB / 0.5374 GB, free: 80.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.6235, allocations: 32.25 kB / 0.5374 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.6235, allocations: 13.47 kB / 0.5374 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.6236, allocations: 164.3 kB / 0.5376 GB, free: 80.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6236, allocations: 1.094 kB / 0.5376 GB, free: 80.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.6236, allocations: 1.312 kB / 0.5376 GB, free: 80.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.6238, allocations: 36.69 kB / 0.5376 GB, free: 80.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6238, allocations: 0.7969 kB / 0.5376 GB, free: 80.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6238, allocations: 3.812 kB / 0.5376 GB, free: 80.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6238, allocations: 4.969 kB / 0.5376 GB, free: 80.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.6239, allocations: 8.188 kB / 0.5376 GB, free: 80.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.6242, allocations: 240.9 kB / 0.5379 GB, free: 79.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.6243, allocations: 20.22 kB / 0.5379 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.6243, allocations: 1.156 kB / 0.5379 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.6243, allocations: 42.11 kB / 0.5379 GB, free: 79.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.6243, allocations: 0 / 0.5379 GB, free: 79.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.6245, allocations: 39.61 kB / 0.5379 GB, free: 79.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.6245, allocations: 51.53 kB / 0.538 GB, free: 79.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.6246, allocations: 97.77 kB / 0.5381 GB, free: 79.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.6246, allocations: 25.7 kB / 0.5381 GB, free: 79.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.6247, allocations: 86.94 kB / 0.5382 GB, free: 79.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.6247, allocations: 6.969 kB / 0.5382 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.6247, allocations: 0 / 0.5382 GB, free: 79.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.6248, allocations: 312.6 kB / 0.5385 GB, free: 79.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.6248, allocations: 5.312 kB / 0.5385 GB, free: 79.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.6248, allocations: 24.94 kB / 0.5385 GB, free: 79.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.6249, allocations: 5.359 kB / 0.5385 GB, free: 79.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6249, allocations: 1.094 kB / 0.5385 GB, free: 79.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.474e-05/0.625, allocations: 50.67 kB / 0.5386 GB, free: 79.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.625, allocations: 4.531 kB / 0.5386 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6251, allocations: 3.016 kB / 0.5386 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6251, allocations: 9.016 kB / 0.5386 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.6251, allocations: 4.391 kB / 0.5386 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.6252, allocations: 1.875 kB / 0.5386 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.6252, allocations: 1 kB / 0.5386 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6252, allocations: 3.844 kB / 0.5386 GB, free: 79.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.6253, allocations: 111 kB / 0.5387 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.6253, allocations: 1.578 kB / 0.5387 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.6254, allocations: 56.19 kB / 0.5388 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6255, allocations: 1.125 kB / 0.5388 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6255, allocations: 4.656 kB / 0.5388 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.6255, allocations: 0 / 0.5388 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.6256, allocations: 150.1 kB / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6257, allocations: 1.938 kB / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/0.6257, allocations: 1.031 kB / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6257, allocations: 0 / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6257, allocations: 1.656 kB / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6257, allocations: 0 / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6257, allocations: 1.031 kB / 0.5389 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.6258, allocations: 140.3 kB / 0.5391 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.6259, allocations: 78.64 kB / 0.5391 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.6259, allocations: 5.828 kB / 0.5391 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.626, allocations: 0.5625 kB / 0.5391 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.626, allocations: 1.062 kB / 0.5391 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.626, allocations: 2.609 kB / 0.5391 GB, free: 78.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.626, allocations: 85.06 kB / 0.5392 GB, free: 78.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6261, allocations: 0 / 0.5392 GB, free: 78.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.6265, allocations: 53.67 kB / 0.5393 GB, free: 78.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005356/0.6271, allocations: 0.7131 MB / 0.54 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6272, allocations: 41.33 kB / 0.54 GB, free: 77.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6272, allocations: 1.438 kB / 0.54 GB, free: 77.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.6273, allocations: 29.02 kB / 0.54 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.6274, allocations: 1.406 kB / 0.54 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.6279, allocations: 146 kB / 0.5402 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.628, allocations: 0.6754 MB / 0.5408 GB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.719e-05/0.6281, allocations: 1.375 kB / 0.5408 GB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.6281, allocations: 12.59 kB / 0.5409 GB, free: 76.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6281, allocations: 1.156 kB / 0.5409 GB, free: 76.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.6474, allocations: 1.417 MB / 0.5422 GB, free: 76.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.6477, allocations: 180.9 kB / 0.5424 GB, free: 76.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.044, allocations: 0 / 0.5424 GB, free: 76.46 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat