Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.22/1.22, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6386, allocations: 80.69 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002742/0.6414, allocations: 1.407 MB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.6424, allocations: 0.5699 MB / 0.5718 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.6425, allocations: 9.406 kB / 0.5718 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01255/0.6551, allocations: 13.69 MB / 0.5852 GB, free: 33.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.6611, allocations: 13.72 MB / 0.5986 GB, free: 20.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.6618, allocations: 75.78 kB / 0.5986 GB, free: 20.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02722/0.6891, allocations: 34 MB / 0.6318 GB, free: 2.078 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.6892, allocations: 8 kB / 0.6318 GB, free: 2.07 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02805/0.7173, allocations: 16.88 MB / 0.6483 GB, free: 1.156 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04831/0.7656, allocations: 32.26 MB / 0.6798 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.009536/0.7752, allocations: 1.953 MB / 0.6817 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.7856, allocations: 2.019 MB / 0.6837 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.7241/1.51, allocations: 79.6 MB / 0.7614 GB, free: 75.9 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.07287/1.583, allocations: 44.94 MB / 0.8053 GB, free: 40.77 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1188/1.702, allocations: 96.76 MB / 0.8998 GB, free: 3.629 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/1.702, allocations: 0 / 0.8998 GB, free: 3.629 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.295e-06/1.702, allocations: 3.562 kB / 0.8998 GB, free: 3.629 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.009032/1.711, allocations: 0 / 0.8998 GB, free: 3.629 MB / 0.6079 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 1.179/2.889, allocations: 153.9 MB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/2.89, allocations: 14.14 kB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/2.89, allocations: 35.06 kB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03383/2.923, allocations: 17.58 MB / 1.067 GB, free: 152.3 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8835/3.807, allocations: 206 MB / 1.269 GB, free: 14.14 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/3.807, allocations: 384 / 1.269 GB, free: 14.14 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005828/3.813, allocations: 0.4926 MB / 1.269 GB, free: 13.65 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/3.841, allocations: 5.907 MB / 1.275 GB, free: 7.738 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/3.841, allocations: 4.594 kB / 1.275 GB, free: 7.734 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005653/3.847, allocations: 0.4938 MB / 1.275 GB, free: 7.242 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/3.847, allocations: 0 / 1.275 GB, free: 7.242 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/3.866, allocations: 3.436 MB / 1.279 GB, free: 3.809 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/4.027, allocations: 54.93 MB / 1.332 GB, free: 12.76 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/4.039, allocations: 1.998 MB / 1.334 GB, free: 10.76 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/4.051, allocations: 1.981 MB / 1.336 GB, free: 8.773 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/4.051, allocations: 4.031 kB / 1.336 GB, free: 8.77 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01657/4.067, allocations: 4.98 MB / 1.341 GB, free: 3.766 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 5.42e-06/4.067, allocations: 0 / 1.341 GB, free: 3.766 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.1128/4.18, allocations: 32.86 MB / 1.373 GB, free: 2.66 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/4.18, allocations: 81.11 kB / 1.373 GB, free: 2.562 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9634/5.144, allocations: 198 MB / 1.567 GB, free: 155.7 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.004985/5.149, allocations: 0.5134 MB / 1.567 GB, free: 155.2 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1196/5.268, allocations: 97.77 MB / 1.663 GB, free: 57.39 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.004519/5.273, allocations: 0.5094 MB / 1.663 GB, free: 56.89 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01483/5.288, allocations: 3.435 MB / 1.666 GB, free: 53.45 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/5.288, allocations: 314 kB / 1.667 GB, free: 53.14 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01057/5.298, allocations: 1.97 MB / 1.669 GB, free: 51.18 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/5.31, allocations: 1.973 MB / 1.671 GB, free: 49.2 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02948/5.339, allocations: 4 MB / 1.674 GB, free: 45.19 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/5.339, allocations: 1.688 kB / 1.674 GB, free: 45.19 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.1057/5.445, allocations: 30.9 MB / 1.705 GB, free: 24.05 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/5.445, allocations: 40.27 kB / 1.705 GB, free: 24.02 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/5.445, allocations: 0 / 1.705 GB, free: 24.02 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/5.445, allocations: 7.469 kB / 1.705 GB, free: 24.01 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/5.445, allocations: 8.859 kB / 1.705 GB, free: 24 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/5.445, allocations: 0 / 1.705 GB, free: 24 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03391/5.479, allocations: 500 kB / 1.705 GB, free: 23.52 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01692/5.496, allocations: 6.84 MB / 1.712 GB, free: 16.68 MB / 0.874 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.5822/6.079, allocations: 38.23 MB / 1.749 GB, free: 175 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03824/6.117, allocations: 18.08 MB / 1.767 GB, free: 175 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06777/6.185, allocations: 20.44 MB / 1.787 GB, free: 173.1 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/6.185, allocations: 5.75 kB / 1.787 GB, free: 173.1 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/6.185, allocations: 3.031 kB / 1.787 GB, free: 173.1 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/6.185, allocations: 0 / 1.787 GB, free: 173.1 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1778/6.363, allocations: 59.83 MB / 1.845 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/6.363, allocations: 0 / 1.845 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/6.363, allocations: 5.344 kB / 1.845 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/6.363, allocations: 3.938 kB / 1.845 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005593/6.368, allocations: 1.468 MB / 1.847 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/6.368, allocations: 1.688 kB / 1.847 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/6.368, allocations: 5.938 kB / 1.847 GB, free: 164 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.105/6.473, allocations: 32.1 MB / 1.878 GB, free: 156.3 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05273/6.526, allocations: 15.22 MB / 1.893 GB, free: 140.8 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03031/6.556, allocations: 0.496 MB / 1.893 GB, free: 140.3 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03307/6.59, allocations: 0.4922 MB / 1.894 GB, free: 139.8 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/6.59, allocations: 7.922 kB / 1.894 GB, free: 139.8 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01861/6.608, allocations: 6.845 MB / 1.901 GB, free: 134 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.3983/7.007, allocations: 137.9 MB / 2.035 GB, free: 24.7 MB / 0.874 GB Notification: Performance of sort global known variables: time 8.12e-07/7.007, allocations: 2.656 kB / 2.035 GB, free: 24.7 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.03425/7.041, allocations: 4.918 MB / 2.04 GB, free: 19.79 MB / 0.874 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.6093/7.65, allocations: 34.54 MB / 2.074 GB, free: 242.2 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.02518/7.675, allocations: 4.531 MB / 2.078 GB, free: 242.2 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/7.676, allocations: 1.781 kB / 2.078 GB, free: 242.2 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.01383/7.689, allocations: 2.546 MB / 2.081 GB, free: 242.1 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1027/7.792, allocations: 13.49 MB / 2.094 GB, free: 233.5 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 55.25/63.04, allocations: 16.28 GB / 18.38 GB, free: 464.9 MB / 1.171 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1504/63.19, allocations: 68.46 MB / 18.44 GB, free: 401.2 MB / 1.171 GB Notification: Performance of simCode: alias equations: time 0.1194/63.31, allocations: 37.29 MB / 18.48 GB, free: 365.9 MB / 1.171 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1021/63.41, allocations: 85.74 MB / 18.56 GB, free: 280.2 MB / 1.171 GB Notification: Performance of SimCode: time 2.886e-06/63.41, allocations: 0 / 18.56 GB, free: 280.2 MB / 1.171 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.895/72.31, allocations: 2.452 GB / 21.02 GB, free: 112 MB / 1.374 GB Notification: Performance of buildModelFMU: Generate platform static: time 212.1/284.4, allocations: 6.016 kB / 21.02 GB, free: 112 MB / 1.374 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1)