Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.434/1.434, allocations: 288.4 MB / 303.6 MB, free: 8.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 192.9 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 205.4 MB / 0.631 GB, free: 9.809 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006918/0.0006921, allocations: 90.86 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 16.53 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0007404/0.1546, allocations: 0.5484 MB / 0.9807 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.156, allocations: 1.415 MB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.156, allocations: 4 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1564, allocations: 191.5 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.1565, allocations: 103.6 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.1573, allocations: 319.4 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000537/0.1578, allocations: 0.6629 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.158, allocations: 88.27 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1582, allocations: 299.4 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1585, allocations: 219.4 kB / 0.9839 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1586, allocations: 16 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1588, allocations: 75.94 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.1591, allocations: 307.3 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1594, allocations: 256.6 kB / 0.9846 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.1598, allocations: 0.7017 MB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1598, allocations: 0 / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1598, allocations: 0 / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1598, allocations: 0 / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009801/0.1608, allocations: 0.6933 MB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1608, allocations: 12.02 kB / 0.9859 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.1609, allocations: 46.75 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.161, allocations: 60.36 kB / 0.986 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.1616, allocations: 0.5409 MB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1617, allocations: 20.61 kB / 0.9866 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.1618, allocations: 40.36 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1621, allocations: 304.1 kB / 0.9869 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1622, allocations: 3.938 kB / 0.9869 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1622, allocations: 4 kB / 0.9869 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1622, allocations: 4 kB / 0.9869 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.1624, allocations: 223.8 kB / 0.9871 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1639, allocations: 1.191 MB / 0.9883 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.1644, allocations: 459.7 kB / 0.9887 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1645, allocations: 182.6 kB / 0.9889 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1646, allocations: 0 / 0.9889 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.1649, allocations: 349.3 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.1649, allocations: 0 / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.00074/0.1656, allocations: 0.6296 MB / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1657, allocations: 114.8 kB / 0.99 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.1662, allocations: 0.5955 MB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.1663, allocations: 45.7 kB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1664, allocations: 222.3 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1665, allocations: 59.34 kB / 0.9909 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.1665, allocations: 4 kB / 0.9909 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.1665, allocations: 358.8 kB / 0.9912 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1667, allocations: 131.8 kB / 0.9913 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.1672, allocations: 0.7134 MB / 0.992 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1675, allocations: 292.6 kB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1675, allocations: 4 kB / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000475/0.168, allocations: 424.7 kB / 0.9927 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.168, allocations: 9.406 kB / 0.9927 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.168, allocations: 3.938 kB / 0.9927 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.168, allocations: 8 kB / 0.9928 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1681, allocations: 31.91 kB / 0.9928 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1682, allocations: 11.94 kB / 0.9928 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.1694, allocations: 133.2 kB / 0.9929 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1694, allocations: 15.94 kB / 0.9929 GB, free: 13.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002274/0.1697, allocations: 265.6 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.1697, allocations: 47.52 kB / 0.9932 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.1698, allocations: 51.3 kB / 0.9933 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1698, allocations: 4 kB / 0.9933 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1698, allocations: 0 / 0.9933 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1698, allocations: 4 kB / 0.9933 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1701, allocations: 405.2 kB / 0.9937 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1701, allocations: 0 / 0.9937 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.1701, allocations: 11.92 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1701, allocations: 0 / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1701, allocations: 15.94 kB / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1702, allocations: 4 kB / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1702, allocations: 3.984 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.1706, allocations: 0.5048 MB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.1707, allocations: 140.5 kB / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.1708, allocations: 11.94 kB / 0.9943 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1709, allocations: 23.91 kB / 0.9944 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.171, allocations: 31.97 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.171, allocations: 11.98 kB / 0.9944 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003449/0.1714, allocations: 435 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1714, allocations: 0 / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003669/0.1718, allocations: 111.9 kB / 0.9949 GB, free: 11.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0007156/0.1725, allocations: 1.1 MB / 0.996 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1729, allocations: 340.1 kB / 0.9963 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1729, allocations: 8.25 kB / 0.9963 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1731, allocations: 195.7 kB / 0.9965 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1734, allocations: 37.95 kB / 0.9966 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.1767, allocations: 3.206 MB / 0.9997 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1769, allocations: 0.8386 MB / 1.001 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.1771, allocations: 102.8 kB / 1.001 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.1772, allocations: 127.4 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1772, allocations: 0 / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4944/0.6716, allocations: 11.6 MB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.6719, allocations: 215 kB / 1.012 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.879, allocations: 0 / 1.012 GB, free: 9.797 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)