Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.01472/0.01472, allocations: 162 kB / 15.12 MB, free: 6.039 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.654/1.654, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001704/0.001704, 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.4275/0.4275, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004736, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1145, allocations: 48.7 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009025/0.1154, allocations: 222.4 kB / 411.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.1191, allocations: 1.319 MB / 413.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1192, allocations: 0 / 413.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1193, allocations: 7.938 kB / 413.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.1193, allocations: 0 / 413.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1206, allocations: 151.7 kB / 413.4 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.1207, allocations: 11.98 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.1208, allocations: 0 / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.1208, allocations: 7.984 kB / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.1209, allocations: 0 / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1209, allocations: 0 / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.1218, allocations: 259.6 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1219, allocations: 3.984 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.122, allocations: 33.7 kB / 413.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1223, allocations: 83.77 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.1223, allocations: 4 kB / 413.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1224, allocations: 0 / 413.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1224, allocations: 0 / 413.8 MB, free: 2.586 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005481/0.1229, allocations: 331.3 kB / 414.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.123, allocations: 8.031 kB / 414.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.1231, allocations: 30.56 kB / 414.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.1231, allocations: 4 kB / 414.2 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1234, allocations: 179.2 kB / 414.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1234, allocations: 4 kB / 414.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1234, allocations: 4 kB / 414.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1236, allocations: 29.7 kB / 414.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1236, allocations: 0 / 414.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1237, allocations: 0 / 414.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1237, allocations: 0 / 414.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.1237, allocations: 4 kB / 414.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.124, allocations: 157.6 kB / 414.5 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.1241, allocations: 26.55 kB / 414.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1241, allocations: 4.859 kB / 414.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1241, allocations: 0 / 414.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.1242, allocations: 34.62 kB / 414.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.856e-06/0.1242, allocations: 0 / 414.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.000219/0.1245, allocations: 33.69 kB / 414.6 MB, free: 1.574 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1245, allocations: 51.53 kB / 414.7 MB, free: 1.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1247, allocations: 101.9 kB / 414.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1247, allocations: 25.7 kB / 414.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1248, allocations: 88.08 kB / 414.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.1249, allocations: 7.938 kB / 414.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1249, allocations: 0 / 414.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1251, allocations: 314.8 kB / 415.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.1251, allocations: 0 / 415.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.1252, allocations: 12.11 kB / 415.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.1253, allocations: 4.062 kB / 415.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1253, allocations: 0 / 415.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002113/0.1255, allocations: 33.7 kB / 415.2 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1256, allocations: 7.938 kB / 415.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1256, allocations: 0 / 415.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1256, allocations: 0 / 415.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1258, allocations: 4 kB / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1258, allocations: 0 / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.1258, allocations: 3.906 kB / 415.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1259, allocations: 8.016 kB / 415.3 MB, free: 0.8789 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 0.0001552/0.126, allocations: 116.1 kB / 415.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1261, allocations: 4 kB / 415.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1263, allocations: 40.83 kB / 415.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.1263, allocations: 3.984 kB / 415.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1264, allocations: 0 / 415.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1264, allocations: 4.031 kB / 415.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1266, allocations: 149.6 kB / 415.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.1266, allocations: 0 / 415.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.1266, allocations: 0 / 415.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.1266, allocations: 3.984 kB / 415.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1267, allocations: 0 / 415.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1267, allocations: 0 / 415.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1267, allocations: 4 kB / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1269, allocations: 69.03 kB / 415.7 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1269, allocations: 77.11 kB / 415.7 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.127, allocations: 3.984 kB / 415.7 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1271, allocations: 4 kB / 415.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.1271, allocations: 0 / 415.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1272, allocations: 0 / 415.7 MB, free: 316 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.1273, allocations: 79.28 kB / 415.8 MB, free: 236 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.1273, allocations: 4 kB / 415.8 MB, free: 232 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.1279, allocations: 40.12 kB / 415.9 MB, free: 192 kB / 314.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.0009926/0.1289, allocations: 0.6397 MB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.129, allocations: 8 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1291, allocations: 0 / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.1291, allocations: 41.73 kB / 416.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1294, allocations: 1.875 kB / 416.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1301, allocations: 120.3 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1305, allocations: 0.677 MB / 417.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1306, allocations: 4 kB / 417.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1306, allocations: 15.44 kB / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1306, allocations: 0 / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.156, allocations: 1.636 MB / 419 MB, free: 12.99 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.1563, allocations: 195.8 kB / 419.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/2.813, allocations: 3.938 kB / 419.2 MB, free: 12.74 MB / 330.7 MB