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.004607/0.004607, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001139/0.001139, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.209/1.209, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 282.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8685/0.8685, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 91.86 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1454, allocations: 86.98 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003028/0.1484, allocations: 1.649 MB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.1494, allocations: 0.519 MB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1495, allocations: 4 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.15, allocations: 172.5 kB / 0.7682 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1504, allocations: 164.1 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1509, allocations: 195 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1512, allocations: 203.5 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1513, allocations: 41.75 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1515, allocations: 83.72 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1517, allocations: 159.5 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.1517, allocations: 12 kB / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.73e-05/0.1518, allocations: 39.98 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.1519, allocations: 79.8 kB / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.152, allocations: 95.22 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1523, allocations: 262.8 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1524, allocations: 4 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/0.1524, allocations: 0 / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1524, allocations: 3.938 kB / 0.7694 GB, free: 5.305 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.0008072/0.1532, allocations: 0.5951 MB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1532, allocations: 12.03 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1533, allocations: 34.75 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1534, allocations: 28.75 kB / 0.7701 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1538, allocations: 370.7 kB / 0.7704 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1539, allocations: 8.375 kB / 0.7705 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1539, allocations: 20.28 kB / 0.7705 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1541, allocations: 69.61 kB / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1541, allocations: 0 / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1541, allocations: 4 kB / 0.7705 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1541, allocations: 0 / 0.7705 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1543, allocations: 51.94 kB / 0.7706 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1548, allocations: 428.6 kB / 0.771 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.155, allocations: 50.55 kB / 0.7711 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.1551, allocations: 25 kB / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1551, allocations: 3.938 kB / 0.7711 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1551, allocations: 34.56 kB / 0.7711 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1551, allocations: 3.938 kB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.1555, allocations: 117.5 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1556, allocations: 55.39 kB / 0.7713 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.1561, allocations: 0.5093 MB / 0.7718 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1561, allocations: 29.7 kB / 0.7718 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.1562, allocations: 171.9 kB / 0.772 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1563, allocations: 11.91 kB / 0.772 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1563, allocations: 17.7 kB / 0.772 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1564, allocations: 342.8 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1565, allocations: 19.98 kB / 0.7723 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.1566, allocations: 19.91 kB / 0.7724 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1567, allocations: 48.83 kB / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1567, allocations: 0 / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002309/0.157, allocations: 97.47 kB / 0.7725 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.157, allocations: 4 kB / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.157, allocations: 0 / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.157, allocations: 4 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1571, allocations: 7.984 kB / 0.7725 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1571, allocations: 4 kB / 0.7725 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.1572, allocations: 15.92 kB / 0.7725 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1572, allocations: 0 / 0.7725 GB, free: 1.898 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.0001241/0.1574, allocations: 170.4 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1574, allocations: 27.81 kB / 0.7727 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.1577, allocations: 112.4 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1577, allocations: 0 / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1577, allocations: 0 / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1577, allocations: 7.984 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1579, allocations: 261.5 kB / 0.7731 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.158, allocations: 0 / 0.7731 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.158, allocations: 11.98 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.158, allocations: 0 / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.158, allocations: 4 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1581, allocations: 4 kB / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1581, allocations: 0 / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1583, allocations: 203.2 kB / 0.7733 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.1584, allocations: 116.9 kB / 0.7734 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1585, allocations: 4 kB / 0.7734 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.1586, allocations: 7.984 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.1586, allocations: 3.938 kB / 0.7734 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1586, allocations: 3.984 kB / 0.7734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003547/0.159, allocations: 387.1 kB / 0.7738 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.159, allocations: 4 kB / 0.7738 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002494/0.1592, allocations: 27.89 kB / 0.7738 GB, free: 476 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.2721/0.4313, allocations: 0.9649 MB / 0.7748 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.4316, allocations: 43.12 kB / 0.7748 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4317, allocations: 0 / 0.7748 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.4318, allocations: 23.2 kB / 0.7748 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.4323, allocations: 57.34 kB / 0.7749 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.4351, allocations: 2.584 MB / 0.7774 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4353, allocations: 0.7724 MB / 0.7782 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.4354, allocations: 38.11 kB / 0.7782 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.4355, allocations: 88.36 kB / 0.7783 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4355, allocations: 0 / 0.7783 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.4553, allocations: 5.048 MB / 0.7832 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.442, allocations: 6.156 kB / 0.7832 GB, free: 11.39 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)