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.00464/0.00464, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001264/0.001264, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 279 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 95.84 kB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1561, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003011/0.1591, allocations: 1.654 MB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.1601, allocations: 0.5112 MB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.1602, allocations: 8 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.1607, allocations: 180.7 kB / 0.7682 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.1611, allocations: 160.2 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.1615, allocations: 196.5 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1618, allocations: 199.5 kB / 0.7687 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1619, allocations: 41.75 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.162, allocations: 83.72 kB / 0.7688 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1622, allocations: 163.5 kB / 0.769 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.1623, allocations: 12 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1624, allocations: 36 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1625, allocations: 79.8 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1626, allocations: 99.22 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.163, allocations: 262.8 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.163, allocations: 4 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.163, allocations: 0 / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.163, allocations: 0 / 0.7694 GB, free: 5.32 MB / 0.5606 GB 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.0008132/0.1638, allocations: 0.599 MB / 0.77 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1639, allocations: 8.031 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1639, allocations: 34.75 kB / 0.7701 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.164, allocations: 28.75 kB / 0.7701 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.1645, allocations: 374.7 kB / 0.7704 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1645, allocations: 4.375 kB / 0.7705 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1645, allocations: 16.3 kB / 0.7705 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1647, allocations: 73.59 kB / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1647, allocations: 0 / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.1647, allocations: 4 kB / 0.7705 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1648, allocations: 0 / 0.7705 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.165, allocations: 51.95 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.1655, allocations: 428.6 kB / 0.771 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1657, allocations: 50.48 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1658, allocations: 24.91 kB / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1659, allocations: 4.031 kB / 0.7711 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1659, allocations: 38.56 kB / 0.7711 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1659, allocations: 3.938 kB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003947/0.1663, allocations: 117.4 kB / 0.7712 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1664, allocations: 51.41 kB / 0.7713 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.167, allocations: 0.5132 MB / 0.7718 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.167, allocations: 25.7 kB / 0.7718 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1672, allocations: 172 kB / 0.772 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1672, allocations: 15.91 kB / 0.772 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.1672, allocations: 9.719 kB / 0.772 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1674, allocations: 342.8 kB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1675, allocations: 19.97 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.1676, allocations: 23.92 kB / 0.7724 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1678, allocations: 48.81 kB / 0.7724 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1678, allocations: 4 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002404/0.168, allocations: 93.47 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.168, allocations: 4 kB / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1681, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1681, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.1682, allocations: 12 kB / 0.7725 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1682, allocations: 7.984 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.1683, allocations: 11.94 kB / 0.7725 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1683, allocations: 4 kB / 0.7725 GB, free: 1.91 MB / 0.5606 GB 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.0001622/0.1684, allocations: 174.4 kB / 0.7727 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.1685, allocations: 27.81 kB / 0.7727 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.1688, allocations: 104.1 kB / 0.7728 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1688, allocations: 4.375 kB / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1688, allocations: 0 / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1688, allocations: 11.92 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.1691, allocations: 261.5 kB / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1691, allocations: 3.984 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.1692, allocations: 11.98 kB / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1692, allocations: 0 / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1692, allocations: 0 / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1692, allocations: 0 / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1692, allocations: 0 / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1696, allocations: 203.2 kB / 0.7733 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1697, allocations: 116.8 kB / 0.7734 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1697, allocations: 4 kB / 0.7734 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1698, allocations: 4 kB / 0.7734 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1699, allocations: 11.86 kB / 0.7734 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1699, allocations: 4 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004385/0.1703, allocations: 383.1 kB / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 0 / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002637/0.1706, allocations: 35.89 kB / 0.7738 GB, free: 484 kB / 0.5606 GB 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.2751/0.4457, allocations: 0.964 MB / 0.7748 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.446, allocations: 42.81 kB / 0.7748 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.446, allocations: 0 / 0.7748 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.4461, allocations: 24.34 kB / 0.7748 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.4466, allocations: 43.52 kB / 0.7749 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.4494, allocations: 2.59 MB / 0.7774 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.4497, allocations: 0.773 MB / 0.7782 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.693e-05/0.4498, allocations: 40.58 kB / 0.7782 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4499, allocations: 86.58 kB / 0.7783 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.4499, allocations: 0 / 0.7783 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.4756, allocations: 5.04 MB / 0.7832 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.44, allocations: 12.47 kB / 0.7832 GB, free: 11.84 MB / 0.5606 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)