Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, 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.00136/0.00136, 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.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2389/0.2389, allocations: 46.12 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.002356/0.002356, allocations: 86.8 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.133, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003471/0.1365, allocations: 1.728 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1391, allocations: 1.616 MB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.1393, allocations: 3.938 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1396, allocations: 35.83 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.14, allocations: 111.5 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.1402, allocations: 75.66 kB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1404, allocations: 103.7 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1405, allocations: 8 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1406, allocations: 51.77 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1408, allocations: 47.7 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1409, allocations: 12 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.1411, allocations: 99.94 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.1411, allocations: 23.86 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.1412, allocations: 39.72 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1416, allocations: 167.8 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1416, allocations: 0 / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1416, allocations: 0 / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1416, allocations: 0 / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000808/0.1424, allocations: 423 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1425, allocations: 8.031 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.1425, allocations: 42.75 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1426, allocations: 12.78 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.143, allocations: 223.8 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.143, allocations: 0 / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.143, allocations: 4 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1432, allocations: 63.39 kB / 485.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1433, allocations: 0 / 485.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1433, allocations: 8 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1433, allocations: 4 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1434, allocations: 19.92 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1439, allocations: 288.9 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1441, allocations: 50.69 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.1442, allocations: 28.84 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1442, allocations: 0 / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.1445, allocations: 67.33 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1445, allocations: 0 / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006314/0.1452, allocations: 181.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.1453, allocations: 85.05 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1455, allocations: 162.5 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1455, allocations: 29.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.1456, allocations: 100.1 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1456, allocations: 23.66 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.1457, allocations: 25.7 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1459, allocations: 322.8 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.1459, allocations: 23.98 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.146, allocations: 38.56 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1462, allocations: 65.67 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1462, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.1464, allocations: 97.66 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1464, allocations: 4.188 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1464, allocations: 7.938 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1464, allocations: 3.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1465, allocations: 19.92 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1466, allocations: 4.031 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1466, allocations: 4 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1466, allocations: 8 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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): 10 * 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.0001191/0.1468, allocations: 117.8 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.1468, allocations: 15.81 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1468, allocations: 12.72 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1469, allocations: 3.938 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1469, allocations: 0 / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1469, allocations: 3.984 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1474, allocations: 395.3 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1474, allocations: 3.938 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1475, allocations: 11.94 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1475, allocations: 4 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1475, allocations: 4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1475, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1475, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1477, allocations: 204.3 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.1478, allocations: 96.94 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1478, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1479, allocations: 384 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.148, allocations: 7.984 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.148, allocations: 8 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1481, allocations: 126.3 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 3.938 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1484, allocations: 55.92 kB / 487.8 MB, free: 13.18 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00251/0.1509, allocations: 1.175 MB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1512, allocations: 67.89 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1512, allocations: 0 / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.1513, allocations: 35.86 kB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1517, allocations: 32.8 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1537, allocations: 1.573 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1541, allocations: 0.7012 MB / 491.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.1542, allocations: 17.17 kB / 491.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.1543, allocations: 43.41 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1543, allocations: 0 / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1826, allocations: 3.939 MB / 495.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.186, allocations: 18.69 kB / 495.4 MB, free: 5.723 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)