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.0009077/0.0009074, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001054/0.001054, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 273.8 kB / 291.3 MB, free: 1.973 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.859/0.859, allocations: 144.7 MB / 487.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 18.14 kB / 0.5686 GB, free: 38.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 83.08 MB / 0.6497 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.00193/0.1534, allocations: 1.331 MB / 0.651 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.1543, allocations: 495.4 kB / 0.6515 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.1543, allocations: 3.938 kB / 0.6515 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1548, allocations: 155 kB / 0.6516 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1551, allocations: 138.9 kB / 0.6518 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1555, allocations: 172.5 kB / 0.6519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1557, allocations: 171.5 kB / 0.6521 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1558, allocations: 36.14 kB / 0.6521 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1559, allocations: 63.75 kB / 0.6522 GB, free: 1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1561, allocations: 139.6 kB / 0.6523 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1561, allocations: 4.75 kB / 0.6523 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.1562, allocations: 27.98 kB / 0.6523 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1563, allocations: 72.69 kB / 0.6524 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.1564, allocations: 53.58 kB / 0.6525 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1566, allocations: 212.4 kB / 0.6527 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1566, allocations: 0 / 0.6527 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1566, allocations: 0.9688 kB / 0.6527 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1567, allocations: 0 / 0.6527 GB, free: 0.4961 MB / 446.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.0006856/0.1573, allocations: 0.554 MB / 0.6532 GB, free: 15.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1574, allocations: 8.719 kB / 0.6532 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1574, allocations: 38.55 kB / 0.6533 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1575, allocations: 32.5 kB / 0.6533 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.158, allocations: 353.4 kB / 0.6536 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.1581, allocations: 10.52 kB / 0.6536 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1581, allocations: 4 kB / 0.6536 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1583, allocations: 77.59 kB / 0.6537 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1583, allocations: 4 kB / 0.6537 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1583, allocations: 0.625 kB / 0.6537 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1583, allocations: 0.6875 kB / 0.6537 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1585, allocations: 62.45 kB / 0.6538 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.159, allocations: 438.8 kB / 0.6542 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1592, allocations: 48.72 kB / 0.6542 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1593, allocations: 43.98 kB / 0.6543 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1593, allocations: 0 / 0.6543 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1594, allocations: 38.59 kB / 0.6543 GB, free: 14.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1594, allocations: 0 / 0.6543 GB, free: 14.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003662/0.1597, allocations: 127.6 kB / 0.6544 GB, free: 14.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1598, allocations: 56.47 kB / 0.6545 GB, free: 14.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.1603, allocations: 0.5132 MB / 0.655 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1604, allocations: 29.7 kB / 0.655 GB, free: 13.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1605, allocations: 171.9 kB / 0.6552 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1605, allocations: 3.906 kB / 0.6552 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.1605, allocations: 0 / 0.6552 GB, free: 13.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1606, allocations: 342.8 kB / 0.6555 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.1607, allocations: 27.97 kB / 0.6555 GB, free: 13.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.1608, allocations: 31.92 kB / 0.6556 GB, free: 13.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.1609, allocations: 15.98 kB / 0.6556 GB, free: 13.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1609, allocations: 4 kB / 0.6556 GB, free: 13.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.1611, allocations: 109.3 kB / 0.6557 GB, free: 13.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1612, allocations: 8 kB / 0.6557 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1612, allocations: 0 / 0.6557 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1612, allocations: 0 / 0.6557 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.1613, allocations: 11.98 kB / 0.6557 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1613, allocations: 0 / 0.6557 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.1614, allocations: 15.98 kB / 0.6557 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1614, allocations: 3.953 kB / 0.6557 GB, free: 13.15 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.1615, allocations: 165.8 kB / 0.6559 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.1616, allocations: 31.95 kB / 0.6559 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1618, allocations: 128 kB / 0.656 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1619, allocations: 4 kB / 0.6561 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1619, allocations: 0 / 0.6561 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1619, allocations: 0 / 0.6561 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1621, allocations: 269.4 kB / 0.6563 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1621, allocations: 0 / 0.6563 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1622, allocations: 15.98 kB / 0.6563 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1622, allocations: 0 / 0.6563 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1622, allocations: 0 / 0.6563 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1622, allocations: 3.938 kB / 0.6563 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1622, allocations: 4 kB / 0.6563 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1625, allocations: 211 kB / 0.6565 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.1626, allocations: 112.8 kB / 0.6566 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1626, allocations: 4 kB / 0.6566 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.1627, allocations: 19.92 kB / 0.6567 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1628, allocations: 4 kB / 0.6567 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1628, allocations: 0 / 0.6567 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003817/0.1632, allocations: 383.1 kB / 0.657 GB, free: 11.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1632, allocations: 0 / 0.657 GB, free: 11.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1635, allocations: 27.91 kB / 0.6571 GB, free: 11.69 MB / 462.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 (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.001182/0.1646, allocations: 0.9746 MB / 0.658 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1649, allocations: 63.89 kB / 0.6581 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1649, allocations: 0 / 0.6581 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.165, allocations: 27.98 kB / 0.6581 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1654, allocations: 41.03 kB / 0.6581 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1678, allocations: 1.756 MB / 0.6599 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1682, allocations: 0.7713 MB / 0.6606 GB, free: 8.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.6e-05/0.1683, allocations: 37.92 kB / 0.6606 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1684, allocations: 83.41 kB / 0.6607 GB, free: 7.973 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1684, allocations: 0 / 0.6607 GB, free: 7.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1849, allocations: 4.986 MB / 0.6656 GB, free: 3.133 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.1851, allocations: 227.8 kB / 0.6658 GB, free: 2.891 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/1.988, allocations: 0 / 0.6658 GB, free: 2.891 MB / 462.1 MB (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/linux/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) Environment - environmentSimulation: