Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",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.001444/0.001444, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 192.7 kB / 16.62 MB, free: 6.613 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.453/1.453, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 279 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9871/0.9871, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 93.97 kB / 0.5955 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 86.98 MB / 0.6804 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002945/0.1571, allocations: 1.655 MB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.158, allocations: 0.5112 MB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.1581, allocations: 0 / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.1587, allocations: 187.3 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.1591, allocations: 172.4 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1595, allocations: 187.2 kB / 0.6831 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1598, allocations: 199.5 kB / 0.6833 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1599, allocations: 49.45 kB / 0.6833 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.16, allocations: 75.73 kB / 0.6834 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1602, allocations: 159.5 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1603, allocations: 12 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.1604, allocations: 39.98 kB / 0.6836 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.1605, allocations: 83.73 kB / 0.6837 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.1606, allocations: 91.3 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1609, allocations: 255.1 kB / 0.684 GB, free: 12.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1609, allocations: 0 / 0.684 GB, free: 12.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.1609, allocations: 0 / 0.684 GB, free: 12.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1609, allocations: 15.88 kB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007425/0.1617, allocations: 0.5797 MB / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1617, allocations: 12.03 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1618, allocations: 30.75 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1618, allocations: 28.56 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.1623, allocations: 374.3 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1623, allocations: 12.31 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1623, allocations: 4.312 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1625, allocations: 81.59 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1625, allocations: 0 / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1625, allocations: 0 / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1625, allocations: 0 / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1627, allocations: 51.95 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.1632, allocations: 428.5 kB / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1634, allocations: 54.48 kB / 0.6856 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.1635, allocations: 25 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1635, allocations: 3.938 kB / 0.6856 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1636, allocations: 38.55 kB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1636, allocations: 0 / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003837/0.1639, allocations: 113.4 kB / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.164, allocations: 51.41 kB / 0.6858 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.1645, allocations: 0.5132 MB / 0.6863 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1645, allocations: 25.7 kB / 0.6863 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1647, allocations: 168 kB / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1647, allocations: 15.75 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1647, allocations: 17.72 kB / 0.6865 GB, free: 10.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1649, allocations: 338.8 kB / 0.6869 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.165, allocations: 23.97 kB / 0.6869 GB, free: 9.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.165, allocations: 19.92 kB / 0.6869 GB, free: 9.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1652, allocations: 48.81 kB / 0.6869 GB, free: 9.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1652, allocations: 0 / 0.6869 GB, free: 9.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002237/0.1655, allocations: 93.38 kB / 0.687 GB, free: 9.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1655, allocations: 4 kB / 0.687 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1655, allocations: 4 kB / 0.687 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1655, allocations: 0 / 0.687 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.1656, allocations: 15.98 kB / 0.6871 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1656, allocations: 0 / 0.6871 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.1657, allocations: 7.938 kB / 0.6871 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1657, allocations: 0 / 0.6871 GB, free: 9.484 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001294/0.1658, allocations: 178.4 kB / 0.6872 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.1659, allocations: 27.95 kB / 0.6873 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1662, allocations: 116 kB / 0.6874 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1662, allocations: 3.938 kB / 0.6874 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1662, allocations: 0 / 0.6874 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1662, allocations: 3.938 kB / 0.6874 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1665, allocations: 261.5 kB / 0.6876 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1665, allocations: 4 kB / 0.6876 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.1665, allocations: 15.98 kB / 0.6877 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1665, allocations: 0 / 0.6877 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1666, allocations: 7.938 kB / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1666, allocations: 0 / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1666, allocations: 0 / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1668, allocations: 195 kB / 0.6878 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1669, allocations: 120.7 kB / 0.688 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.167, allocations: 0 / 0.688 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1671, allocations: 7.984 kB / 0.688 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1671, allocations: 3.938 kB / 0.688 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1671, allocations: 8 kB / 0.688 GB, free: 8.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003709/0.1675, allocations: 379.1 kB / 0.6883 GB, free: 8.074 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1675, allocations: 4 kB / 0.6883 GB, free: 8.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1678, allocations: 23.94 kB / 0.6884 GB, free: 8.047 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001221/0.169, allocations: 0.9748 MB / 0.6893 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1693, allocations: 47.95 kB / 0.6894 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1693, allocations: 0 / 0.6894 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.1694, allocations: 23.97 kB / 0.6894 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1698, allocations: 44.12 kB / 0.6894 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.1727, allocations: 2.596 MB / 0.692 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.173, allocations: 0.771 MB / 0.6927 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.1731, allocations: 37.94 kB / 0.6928 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1732, allocations: 91.34 kB / 0.6928 GB, free: 3.473 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1732, allocations: 0 / 0.6928 GB, free: 3.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.195, allocations: 5.005 MB / 0.6977 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.074, allocations: 12.53 kB / 0.6977 GB, free: 14.58 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)