Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.586/1.586, allocations: 297.8 MB / 313.7 MB, free: 92 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009448/0.000945, allocations: 188.2 kB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007556/0.0007555, allocations: 95.61 kB / 0.7808 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 12 kB / 0.9088 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5676, allocations: 120.3 MB / 1.026 GB, free: 56.97 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.749, allocations: 141.3 MB / 1.164 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.7493, allocations: 72.8 kB / 1.164 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06059/0.8099, allocations: 21.36 MB / 1.185 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8099, allocations: 0 / 1.185 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.8099, allocations: 7.938 kB / 1.185 GB, free: 11.52 MB / 0.7605 GB 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.0009512/0.8109, allocations: 0.5414 MB / 1.186 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8109, allocations: 8.031 kB / 1.186 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.8111, allocations: 36.66 kB / 1.186 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.8116, allocations: 384.5 kB / 1.186 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.8117, allocations: 16.38 kB / 1.186 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.8117, allocations: 20.38 kB / 1.186 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.812, allocations: 192.6 kB / 1.186 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.812, allocations: 3.938 kB / 1.186 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.8121, allocations: 3.984 kB / 1.186 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.8121, allocations: 4 kB / 1.186 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.8122, allocations: 115.9 kB / 1.187 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.8126, allocations: 387.1 kB / 1.187 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.813, allocations: 323.6 kB / 1.187 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.8132, allocations: 122.6 kB / 1.187 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.8132, allocations: 7.938 kB / 1.187 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.8136, allocations: 291.3 kB / 1.188 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.8136, allocations: 0 / 1.188 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0007421/0.8143, allocations: 0.505 MB / 1.188 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.8144, allocations: 114.8 kB / 1.188 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.8148, allocations: 396.4 kB / 1.189 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.8149, allocations: 37.7 kB / 1.189 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.815, allocations: 157.2 kB / 1.189 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.815, allocations: 39.59 kB / 1.189 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.8151, allocations: 4 kB / 1.189 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8152, allocations: 342.8 kB / 1.189 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.8153, allocations: 87.88 kB / 1.189 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.8158, allocations: 482.2 kB / 1.19 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.8161, allocations: 257.7 kB / 1.19 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8161, allocations: 0 / 1.19 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004996/0.8166, allocations: 340.8 kB / 1.19 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8167, allocations: 4 kB / 1.19 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8167, allocations: 8.062 kB / 1.19 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8167, allocations: 4 kB / 1.19 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.8168, allocations: 35.92 kB / 1.19 GB, free: 5.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.8169, allocations: 4 kB / 1.19 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.8174, allocations: 60.41 kB / 1.19 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.8175, allocations: 12 kB / 1.19 GB, free: 5.797 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002127/0.8177, allocations: 192.8 kB / 1.191 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.8177, allocations: 31.56 kB / 1.191 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.8178, allocations: 33.89 kB / 1.191 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8178, allocations: 8 kB / 1.191 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8178, allocations: 0 / 1.191 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8178, allocations: 3.984 kB / 1.191 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.8181, allocations: 289.4 kB / 1.191 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8181, allocations: 3.938 kB / 1.191 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.8181, allocations: 7.938 kB / 1.191 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8181, allocations: 0 / 1.191 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.8182, allocations: 15.92 kB / 1.191 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8182, allocations: 4 kB / 1.191 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8182, allocations: 0 / 1.191 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.8187, allocations: 438.2 kB / 1.191 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.8189, allocations: 120.6 kB / 1.191 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.8189, allocations: 8 kB / 1.191 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.819, allocations: 0 / 1.191 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.819, allocations: 15.98 kB / 1.192 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.8191, allocations: 19.98 kB / 1.192 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002936/0.8194, allocations: 287 kB / 1.192 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8194, allocations: 0 / 1.192 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003852/0.8198, allocations: 91.92 kB / 1.192 GB, free: 4.156 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002281/0.82, allocations: 147.1 kB / 1.192 GB, free: 4.004 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.8204, allocations: 254.8 kB / 1.192 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8204, allocations: 0 / 1.192 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.8206, allocations: 143.9 kB / 1.192 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.8209, allocations: 28.58 kB / 1.192 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.8217, allocations: 0.5973 MB / 1.193 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.822, allocations: 0.7649 MB / 1.194 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.8222, allocations: 53.92 kB / 1.194 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.8222, allocations: 27.42 kB / 1.194 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/0.8222, allocations: 0 / 1.194 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of Templates: time 0.007981/0.8302, allocations: 4.686 MB / 1.198 GB, free: 13.46 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)