Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009538/0.009543, allocations: 162 kB / 15.12 MB, free: 6.027 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.723/1.723, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.00183/0.00183, allocations: 106.8 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.48/0.48, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0007108/0.1092, allocations: 226.4 kB / 411.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1118, allocations: 1.327 MB / 413.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1118, allocations: 0 / 413.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1119, allocations: 0 / 413.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.1119, allocations: 0 / 413.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.1128, allocations: 147.7 kB / 413.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.1129, allocations: 4 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.1129, allocations: 11.98 kB / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.1129, allocations: 0 / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.113, allocations: 4 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.113, allocations: 0 / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.1136, allocations: 259.6 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.1137, allocations: 0 / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.1137, allocations: 25.7 kB / 413.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1139, allocations: 91.8 kB / 413.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1139, allocations: 3.938 kB / 413.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1139, allocations: 0 / 413.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.114, allocations: 4 kB / 413.8 MB, free: 2.578 MB / 314.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.0004512/0.1144, allocations: 327.4 kB / 414.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1145, allocations: 12.03 kB / 414.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1145, allocations: 38.5 kB / 414.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.1146, allocations: 3.906 kB / 414.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1147, allocations: 163.3 kB / 414.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1147, allocations: 7.938 kB / 414.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1148, allocations: 3.984 kB / 414.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1149, allocations: 33.7 kB / 414.4 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1149, allocations: 4 kB / 414.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1149, allocations: 0 / 414.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.115, allocations: 4 kB / 414.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.115, allocations: 7.984 kB / 414.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1154, allocations: 248.8 kB / 414.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.1155, allocations: 14.58 kB / 414.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.1155, allocations: 12.89 kB / 414.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1156, allocations: 8.062 kB / 414.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1156, allocations: 30.56 kB / 414.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/0.1156, allocations: 0 / 414.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.1158, allocations: 33.64 kB / 414.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1158, allocations: 63.36 kB / 414.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.1159, allocations: 93.84 kB / 414.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.116, allocations: 25.95 kB / 414.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.116, allocations: 92.05 kB / 415 MB, free: 1.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.116, allocations: 0 / 415 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1161, allocations: 4 kB / 415 MB, free: 1.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1162, allocations: 310.8 kB / 415.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.1162, allocations: 4 kB / 415.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.1163, allocations: 22.55 kB / 415.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.1163, allocations: 12 kB / 415.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1163, allocations: 0 / 415.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.1165, allocations: 41.64 kB / 415.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1165, allocations: 8 kB / 415.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1165, allocations: 7.922 kB / 415.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1165, allocations: 0 / 415.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1166, allocations: 11.94 kB / 415.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1166, allocations: 3.953 kB / 415.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.1167, allocations: 4 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1167, allocations: 12 kB / 415.4 MB, free: 0.707 MB / 314.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): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.1168, allocations: 108.2 kB / 415.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1168, allocations: 0 / 415.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.117, allocations: 48.81 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.117, allocations: 0 / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1171, allocations: 4 kB / 415.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1171, allocations: 7.984 kB / 415.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1173, allocations: 145.7 kB / 415.7 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1173, allocations: 0 / 415.7 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.1173, allocations: 7.938 kB / 415.7 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1173, allocations: 3.938 kB / 415.7 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1173, allocations: 0 / 415.7 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1174, allocations: 0 / 415.7 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1174, allocations: 0 / 415.7 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.1175, allocations: 139.5 kB / 415.9 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1176, allocations: 77.11 kB / 416 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1176, allocations: 0 / 416 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.1177, allocations: 4 kB / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.1177, allocations: 0 / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1177, allocations: 0 / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.1178, allocations: 79.28 kB / 416 MB, free: 16 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1178, allocations: 0 / 416 MB, free: 16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.1182, allocations: 39.98 kB / 416.1 MB, free: 15.96 MB / 330.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.0007942/0.119, allocations: 0.7164 MB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.698e-05/0.1192, allocations: 8 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1192, allocations: 0 / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.1192, allocations: 29.86 kB / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1195, allocations: 12.06 kB / 416.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.12, allocations: 128.2 kB / 417 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1204, allocations: 0.6731 MB / 417.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.1204, allocations: 0 / 417.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1205, allocations: 11.44 kB / 417.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1205, allocations: 0 / 417.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1456, allocations: 1.652 MB / 419.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.146, allocations: 184.5 kB / 419.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/2.802, allocations: 0 / 419.5 MB, free: 12.43 MB / 330.7 MB