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.00158/0.00158, 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.00175/0.00175, allocations: 193.7 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 286.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 103.3 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1354, allocations: 86.99 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002799/0.1382, allocations: 1.634 MB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.139, allocations: 0.519 MB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1391, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.1396, allocations: 180 kB / 0.6826 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.1399, allocations: 165.9 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1403, allocations: 194.3 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1405, allocations: 195.5 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1406, allocations: 41.52 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.1407, allocations: 83.67 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1409, allocations: 159.5 kB / 0.6834 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.141, allocations: 12 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.141, allocations: 35.98 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.1411, allocations: 87.75 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.1412, allocations: 87.3 kB / 0.6836 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.1415, allocations: 255.1 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1415, allocations: 3.984 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1415, allocations: 4 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1415, 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.0006831/0.1422, allocations: 0.5874 MB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1422, allocations: 12.03 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1423, allocations: 34.75 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.1423, allocations: 28.56 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.1427, allocations: 374.3 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1428, allocations: 8.375 kB / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1428, allocations: 384 / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.143, allocations: 85.47 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.143, allocations: 0 / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.143, allocations: 0 / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.143, allocations: 0 / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1432, allocations: 55.95 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.1437, allocations: 428.5 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1438, allocations: 58.53 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.1439, allocations: 20.91 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1439, allocations: 3.984 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.144, allocations: 42.59 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.144, allocations: 0 / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003629/0.1443, allocations: 109.4 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1444, allocations: 55.41 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.1449, allocations: 0.5093 MB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1449, allocations: 25.7 kB / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.145, allocations: 175.9 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1451, allocations: 11.75 kB / 0.6864 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.1451, allocations: 13.72 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1452, allocations: 346.8 kB / 0.6867 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.1453, allocations: 19.98 kB / 0.6867 GB, free: 9.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.1454, allocations: 19.98 kB / 0.6867 GB, free: 9.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1456, allocations: 48.75 kB / 0.6868 GB, free: 9.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1456, allocations: 0 / 0.6868 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002259/0.1458, allocations: 93.38 kB / 0.6869 GB, free: 9.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1458, allocations: 12 kB / 0.6869 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1458, allocations: 0 / 0.6869 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1458, allocations: 0 / 0.6869 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.1459, allocations: 11.98 kB / 0.6869 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1459, allocations: 0 / 0.6869 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.146, allocations: 7.938 kB / 0.6869 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.146, allocations: 0 / 0.6869 GB, free: 9.609 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.0001248/0.1462, allocations: 174.4 kB / 0.6871 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.1462, allocations: 27.62 kB / 0.6871 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.1465, allocations: 120 kB / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1465, allocations: 0 / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1465, allocations: 4 kB / 0.6872 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1465, allocations: 3.938 kB / 0.6872 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1468, allocations: 261.5 kB / 0.6875 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1468, allocations: 0 / 0.6875 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.1468, allocations: 11.92 kB / 0.6875 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1468, allocations: 4 kB / 0.6875 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1469, allocations: 4 kB / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1469, allocations: 0 / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1469, allocations: 0 / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1471, allocations: 199.4 kB / 0.6877 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.1472, allocations: 112.7 kB / 0.6878 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1473, allocations: 0 / 0.6878 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1474, allocations: 11.98 kB / 0.6878 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1474, allocations: 15.97 kB / 0.6878 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1474, allocations: 0 / 0.6878 GB, free: 8.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003603/0.1478, allocations: 383.1 kB / 0.6882 GB, free: 8.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1478, allocations: 3.938 kB / 0.6882 GB, free: 8.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.148, allocations: 27.94 kB / 0.6882 GB, free: 8.168 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.001158/0.1492, allocations: 0.9718 MB / 0.6892 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1494, allocations: 47.95 kB / 0.6892 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1494, allocations: 0 / 0.6892 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.1495, allocations: 23.97 kB / 0.6892 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1499, allocations: 44.38 kB / 0.6893 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.1526, allocations: 2.595 MB / 0.6918 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.153, allocations: 0.7788 MB / 0.6926 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.638e-05/0.153, allocations: 33.94 kB / 0.6926 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1532, allocations: 87.39 kB / 0.6927 GB, free: 3.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1532, allocations: 0 / 0.6927 GB, free: 3.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.1731, allocations: 4.948 MB / 0.6975 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.208, allocations: 4.531 kB / 0.6975 GB, free: 14.74 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)