Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test70",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.009404/0.009404, allocations: 163.8 kB / 15.12 MB, free: 5.957 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.772/1.772, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.001745/0.001744, allocations: 110.8 kB / 226.2 MB, free: 10.08 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.4576/0.4576, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007775/0.0007778, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002637/0.1099, allocations: 1.345 MB / 413.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1118, allocations: 0.6901 MB / 413.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1119, allocations: 0 / 413.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.1126, allocations: 287.4 kB / 414 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1131, allocations: 175.6 kB / 414.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1136, allocations: 103.7 kB / 414.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1139, allocations: 163.5 kB / 414.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.114, allocations: 13.11 kB / 414.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1141, allocations: 95.75 kB / 414.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1144, allocations: 151.6 kB / 414.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.1145, allocations: 4 kB / 414.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.1148, allocations: 59.98 kB / 414.8 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.1149, allocations: 131.6 kB / 414.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.1151, allocations: 69.52 kB / 415 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.1156, allocations: 303.6 kB / 415.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1156, allocations: 0 / 415.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1156, allocations: 0 / 415.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1156, allocations: 0 / 415.3 MB, free: 1.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001264/0.1169, allocations: 0.719 MB / 416 MB, free: 324 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.117, allocations: 8.031 kB / 416 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.117, allocations: 30.56 kB / 416 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1171, allocations: 47.42 kB / 416.1 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.118, allocations: 399.3 kB / 416.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.118, allocations: 4 kB / 416.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.118, allocations: 4 kB / 416.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1182, allocations: 67.33 kB / 416.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1183, allocations: 3.984 kB / 416.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1183, allocations: 3.984 kB / 416.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.1183, allocations: 0 / 416.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.1184, allocations: 16 kB / 416.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.1189, allocations: 374.2 kB / 416.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1191, allocations: 57.16 kB / 417 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.1192, allocations: 25.77 kB / 417 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1192, allocations: 0 / 417 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1194, allocations: 89.03 kB / 417.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1195, allocations: 4 kB / 417.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004332/0.1199, allocations: 137 kB / 417.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.12, allocations: 81.11 kB / 417.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.1216, allocations: 1.007 MB / 418.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1217, allocations: 25.7 kB / 418.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.122, allocations: 236 kB / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.122, allocations: 19.75 kB / 418.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.1221, allocations: 4 kB / 418.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1223, allocations: 374.7 kB / 419 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.1224, allocations: 27.98 kB / 419 MB, free: 13.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1225, allocations: 41.7 kB / 419 MB, free: 13.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1226, allocations: 87.39 kB / 419.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1227, allocations: 0 / 419.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004361/0.1231, allocations: 220.4 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.1232, allocations: 63.39 kB / 419.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1232, allocations: 0 / 419.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1232, allocations: 128 / 419.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1234, allocations: 20 kB / 419.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1234, allocations: 0 / 419.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1235, allocations: 19.78 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1236, allocations: 7.984 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.000336/0.1239, allocations: 218.8 kB / 419.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.124, allocations: 43.44 kB / 419.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.1242, allocations: 55.66 kB / 419.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1242, allocations: 4 kB / 419.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1242, allocations: 0 / 419.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1242, allocations: 4 kB / 419.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1247, allocations: 317.4 kB / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1247, allocations: 0 / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.1248, allocations: 4 kB / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.1248, allocations: 7.984 kB / 420.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1248, allocations: 4 kB / 420.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1248, allocations: 0 / 420.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1248, allocations: 4 kB / 420.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1252, allocations: 153.3 kB / 420.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.1254, allocations: 140.5 kB / 420.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.1255, allocations: 4.375 kB / 420.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1256, allocations: 0 / 420.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.1256, allocations: 7.984 kB / 420.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1257, allocations: 4 kB / 420.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.1269, allocations: 0.7526 MB / 421.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1269, allocations: 0 / 421.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.1273, allocations: 55.98 kB / 421.2 MB, free: 10.74 MB / 330.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001839/0.1292, allocations: 1.064 MB / 422.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1295, allocations: 182.7 kB / 422.4 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1295, allocations: 0 / 422.4 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.1296, allocations: 23.98 kB / 422.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.1302, allocations: 42.28 kB / 422.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.1359, allocations: 2.756 MB / 425.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.1366, allocations: 0.839 MB / 426.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1368, allocations: 50.53 kB / 426.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.137, allocations: 123.4 kB / 426.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.137, allocations: 0 / 426.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2951/0.4322, allocations: 7.661 MB / 433.9 MB, free: 46.46 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/0.4326, allocations: 248.8 kB / 434.2 MB, free: 46.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.02, allocations: 0 / 434.2 MB, free: 46.15 MB / 330.7 MB