Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2353/0.2353, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 79.44 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1337, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004555/0.1383, allocations: 1.82 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.141, allocations: 1.099 MB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1412, allocations: 7.938 kB / 483.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.142, allocations: 307.3 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008665/0.1429, allocations: 259.2 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1433, allocations: 107.6 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.1439, allocations: 259.3 kB / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.144, allocations: 17.69 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1442, allocations: 127.5 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.1446, allocations: 195.5 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1446, allocations: 8 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1448, allocations: 47.97 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.145, allocations: 127.5 kB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1451, allocations: 162.7 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.1456, allocations: 367 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1456, allocations: 0 / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1456, allocations: 0 / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1456, allocations: 0 / 485.1 MB, free: 248 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001148/0.1468, allocations: 0.7501 MB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1469, allocations: 15.97 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1469, allocations: 30.75 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.147, allocations: 52.28 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.1477, allocations: 447.8 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1477, allocations: 4.375 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1477, allocations: 7.938 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.148, allocations: 91.3 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.148, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.148, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.148, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1481, allocations: 31.97 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1486, allocations: 374.4 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1489, allocations: 113.1 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.149, allocations: 45.69 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.149, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.1493, allocations: 113 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1493, allocations: 3.938 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000514/0.1498, allocations: 196.9 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1499, allocations: 81.09 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.1512, allocations: 1.054 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1512, allocations: 29.7 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.1515, allocations: 240.1 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1515, allocations: 31.61 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1516, allocations: 21.72 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1518, allocations: 374.8 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.1519, allocations: 27.98 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.152, allocations: 55.42 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1522, allocations: 91.84 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1522, allocations: 7.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003157/0.1525, allocations: 168.9 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1525, allocations: 4 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1526, allocations: 8.062 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1526, allocations: 0 / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1527, allocations: 19.98 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1527, allocations: 4 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1528, allocations: 15.92 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1528, allocations: 7.938 kB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.1531, allocations: 221.7 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1532, allocations: 59.33 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.1532, allocations: 64.12 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1533, allocations: 4 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1533, allocations: 0 / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1533, allocations: 0 / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.1536, allocations: 349.4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1537, allocations: 0 / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1537, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1537, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1537, allocations: 7.984 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1537, allocations: 0 / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1537, allocations: 4 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1541, allocations: 201.2 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1543, allocations: 140.4 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.1543, allocations: 7.938 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.1544, allocations: 8.109 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1545, allocations: 11.98 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1545, allocations: 11.94 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008924/0.1554, allocations: 0.7878 MB / 491.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1554, allocations: 0 / 491.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1557, allocations: 44 kB / 491.5 MB, free: 9.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/0.1577, allocations: 1.042 MB / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.158, allocations: 87.83 kB / 492.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.158, allocations: 0 / 492.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1581, allocations: 44.17 kB / 492.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.1586, allocations: 69.52 kB / 492.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.1647, allocations: 4.682 MB / 497.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.1653, allocations: 0.8505 MB / 498.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1655, allocations: 62.92 kB / 498.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.1657, allocations: 151.4 kB / 498.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1657, allocations: 0 / 498.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.2018, allocations: 8.928 MB / 0.4955 GB, free: 9.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.231, allocations: 10.56 kB / 0.4955 GB, free: 9.617 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)