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.005523/0.005523, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001228/0.001229, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 279.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9081/0.9081, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 91.86 kB / 0.6809 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.138, allocations: 86.97 MB / 0.7659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002721/0.1408, allocations: 1.654 MB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.1417, allocations: 0.5151 MB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1418, allocations: 4 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.1423, allocations: 173.3 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.1426, allocations: 164.2 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1431, allocations: 197.2 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1433, allocations: 191.5 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1435, allocations: 49.72 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1436, allocations: 75.73 kB / 0.7688 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1438, allocations: 159.5 kB / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.1438, allocations: 15.94 kB / 0.769 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.1439, allocations: 47.98 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.144, allocations: 71.81 kB / 0.7691 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.1441, allocations: 103.2 kB / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1444, allocations: 258.8 kB / 0.7694 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1444, allocations: 0 / 0.7694 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1444, allocations: 0 / 0.7694 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1445, allocations: 4 kB / 0.7694 GB, free: 5.344 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.0007144/0.1452, allocations: 0.5912 MB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1452, allocations: 12.03 kB / 0.77 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.1453, allocations: 42.73 kB / 0.7701 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1453, allocations: 28.75 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1458, allocations: 370.7 kB / 0.7704 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1458, allocations: 4.375 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1458, allocations: 4.375 kB / 0.7704 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.146, allocations: 77.53 kB / 0.7705 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.146, allocations: 0 / 0.7705 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.146, allocations: 4 kB / 0.7705 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.146, allocations: 0 / 0.7705 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1462, allocations: 55.94 kB / 0.7706 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1467, allocations: 424.6 kB / 0.771 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1469, allocations: 46.56 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.147, allocations: 32.89 kB / 0.7711 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.147, allocations: 96 / 0.7711 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.147, allocations: 34.5 kB / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.147, allocations: 3.938 kB / 0.7711 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003863/0.1474, allocations: 117.5 kB / 0.7712 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1474, allocations: 51.41 kB / 0.7713 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.1479, allocations: 0.521 MB / 0.7718 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.148, allocations: 25.7 kB / 0.7718 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.1481, allocations: 168 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1481, allocations: 11.91 kB / 0.772 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1481, allocations: 21.64 kB / 0.772 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.1482, allocations: 338.8 kB / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.1483, allocations: 19.98 kB / 0.7723 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1484, allocations: 31.91 kB / 0.7724 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1486, allocations: 40.83 kB / 0.7724 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1486, allocations: 0 / 0.7724 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002216/0.1488, allocations: 97.75 kB / 0.7725 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1488, allocations: 4 kB / 0.7725 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1488, allocations: 4 kB / 0.7725 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1489, allocations: 4.047 kB / 0.7725 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.1489, allocations: 15.97 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1489, allocations: 0 / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.149, allocations: 11.92 kB / 0.7725 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.149, allocations: 0 / 0.7725 GB, free: 1.938 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.0001211/0.1492, allocations: 170.4 kB / 0.7727 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.1492, allocations: 31.81 kB / 0.7727 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.1495, allocations: 112.1 kB / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1495, allocations: 0 / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1495, allocations: 0 / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1495, allocations: 3.938 kB / 0.7728 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1497, allocations: 261.5 kB / 0.7731 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1498, allocations: 0 / 0.7731 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1498, allocations: 11.98 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1498, allocations: 0 / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1498, allocations: 4 kB / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1498, allocations: 0 / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1499, allocations: 4 kB / 0.7731 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1501, allocations: 199.2 kB / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1502, allocations: 116.9 kB / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1502, allocations: 0 / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.1503, allocations: 7.984 kB / 0.7734 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1504, allocations: 7.938 kB / 0.7734 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1504, allocations: 4 kB / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003585/0.1507, allocations: 387.1 kB / 0.7738 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1507, allocations: 0 / 0.7738 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002534/0.151, allocations: 27.88 kB / 0.7738 GB, free: 0.5117 MB / 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.26/0.411, allocations: 0.9715 MB / 0.7748 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.4113, allocations: 43.09 kB / 0.7748 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4113, allocations: 0 / 0.7748 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.4114, allocations: 24.08 kB / 0.7748 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.4119, allocations: 46.61 kB / 0.7749 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.4145, allocations: 2.593 MB / 0.7774 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.4147, allocations: 0.7713 MB / 0.7782 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.4148, allocations: 39.02 kB / 0.7782 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.4149, allocations: 83.27 kB / 0.7783 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4149, allocations: 2.281 kB / 0.7783 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.4333, allocations: 5.056 MB / 0.7832 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.769, allocations: 8.469 kB / 0.7832 GB, free: 11.82 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)