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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 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.001214/0.001214, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 293.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 101.3 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1464, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002852/0.1493, allocations: 1.639 MB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.1502, allocations: 0.519 MB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.1503, allocations: 7.938 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1508, allocations: 173.1 kB / 0.6826 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1512, allocations: 164.3 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1516, allocations: 190.9 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1519, allocations: 203.6 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.152, allocations: 33.53 kB / 0.6831 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1521, allocations: 95.59 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1523, allocations: 151.5 kB / 0.6834 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.1523, allocations: 12 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.1524, allocations: 43.98 kB / 0.6834 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.1525, allocations: 75.75 kB / 0.6835 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.1526, allocations: 99.22 kB / 0.6836 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1529, allocations: 255.1 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1529, allocations: 0 / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1529, allocations: 0 / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.153, allocations: 0 / 0.6838 GB, free: 13 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.0007248/0.1537, allocations: 0.5914 MB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1537, allocations: 8.031 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1538, allocations: 38.75 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1538, allocations: 28.56 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1543, allocations: 382.2 kB / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1543, allocations: 384 / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1543, allocations: 4.375 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1545, allocations: 73.59 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1545, allocations: 0 / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1545, allocations: 4 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1545, allocations: 0 / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1547, allocations: 63.88 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1552, allocations: 424.6 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1554, allocations: 58.58 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.1555, allocations: 24.91 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1555, allocations: 0 / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1556, allocations: 30.56 kB / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1556, allocations: 0 / 0.6855 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003727/0.1559, allocations: 117.3 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.156, allocations: 51.41 kB / 0.6857 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.1565, allocations: 0.5171 MB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1565, allocations: 25.7 kB / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1566, allocations: 168 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1567, allocations: 15.75 kB / 0.6864 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1567, allocations: 17.7 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1568, allocations: 342.8 kB / 0.6867 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.1569, allocations: 19.98 kB / 0.6867 GB, free: 9.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.157, allocations: 23.91 kB / 0.6867 GB, free: 9.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1572, allocations: 44.83 kB / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1572, allocations: 0 / 0.6868 GB, free: 9.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.1574, allocations: 97.31 kB / 0.6869 GB, free: 9.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1574, allocations: 8 kB / 0.6869 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1574, allocations: 0 / 0.6869 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1574, allocations: 0 / 0.6869 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.1575, allocations: 15.98 kB / 0.6869 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1575, allocations: 0 / 0.6869 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.1576, allocations: 11.92 kB / 0.6869 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1576, allocations: 4 kB / 0.6869 GB, free: 9.602 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.0001237/0.1578, allocations: 166.5 kB / 0.6871 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.1578, allocations: 31.62 kB / 0.6871 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.1581, allocations: 112.4 kB / 0.6872 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1581, allocations: 0 / 0.6872 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1581, allocations: 3.984 kB / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1581, allocations: 7.922 kB / 0.6872 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1583, allocations: 257.5 kB / 0.6875 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1584, allocations: 0 / 0.6875 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.115e-05/0.1584, allocations: 11.98 kB / 0.6875 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1584, allocations: 4 kB / 0.6875 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1584, allocations: 0 / 0.6875 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1584, allocations: 0 / 0.6875 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1585, allocations: 7.984 kB / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1587, allocations: 199.1 kB / 0.6877 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1588, allocations: 108.7 kB / 0.6878 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1588, allocations: 0 / 0.6878 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1589, allocations: 11.98 kB / 0.6878 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.159, allocations: 7.938 kB / 0.6878 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.159, allocations: 0 / 0.6878 GB, free: 8.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.1594, allocations: 387.1 kB / 0.6882 GB, free: 8.207 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1594, allocations: 7.875 kB / 0.6882 GB, free: 8.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1596, allocations: 27.94 kB / 0.6882 GB, free: 8.172 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.001141/0.1608, allocations: 0.9634 MB / 0.6892 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.161, allocations: 47.95 kB / 0.6892 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.161, allocations: 3.938 kB / 0.6892 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1611, allocations: 27.92 kB / 0.6892 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1615, allocations: 53.02 kB / 0.6893 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1642, allocations: 2.591 MB / 0.6918 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1645, allocations: 0.7749 MB / 0.6926 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.1646, allocations: 33.94 kB / 0.6926 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1647, allocations: 83.41 kB / 0.6927 GB, free: 3.602 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1647, allocations: 0 / 0.6927 GB, free: 3.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.2753, allocations: 4.958 MB / 0.6975 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.257, allocations: 12.59 kB / 0.6975 GB, free: 14.73 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)