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.001805/0.001805, 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.002036/0.002036, 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 290.2 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002988/0.002988, allocations: 101.6 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1503, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003213/0.1536, allocations: 1.654 MB / 0.6952 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.1546, allocations: 0.5216 MB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1547, allocations: 0 / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.1552, allocations: 179.6 kB / 0.6959 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.1556, allocations: 168.7 kB / 0.696 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.156, allocations: 189.5 kB / 0.6962 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1563, allocations: 203.5 kB / 0.6964 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1564, allocations: 36.09 kB / 0.6965 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1566, allocations: 87.72 kB / 0.6965 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1568, allocations: 159.5 kB / 0.6967 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.1568, allocations: 12 kB / 0.6967 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.157, allocations: 35.98 kB / 0.6967 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1571, allocations: 75.75 kB / 0.6968 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1572, allocations: 95.28 kB / 0.6969 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1575, allocations: 255.1 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1575, allocations: 0 / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1575, allocations: 0 / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1575, allocations: 0 / 0.6971 GB, free: 0.625 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.0008962/0.1584, allocations: 0.6055 MB / 0.6977 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1585, allocations: 12.03 kB / 0.6977 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1585, allocations: 34.75 kB / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1586, allocations: 24.66 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.1591, allocations: 362.4 kB / 0.6981 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1591, allocations: 4.375 kB / 0.6981 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1591, allocations: 8.359 kB / 0.6982 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1594, allocations: 81.48 kB / 0.6982 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1594, allocations: 0 / 0.6982 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1594, allocations: 4 kB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1594, allocations: 3.984 kB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.1596, allocations: 51.94 kB / 0.6983 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.1602, allocations: 440.5 kB / 0.6987 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1604, allocations: 50.55 kB / 0.6988 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1605, allocations: 24.91 kB / 0.6988 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1605, allocations: 0 / 0.6988 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1605, allocations: 30.56 kB / 0.6988 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 7.654e-06/0.1606, allocations: 8.094 kB / 0.6988 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004097/0.161, allocations: 117.2 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.161, allocations: 55.39 kB / 0.699 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.1617, allocations: 0.5132 MB / 0.6995 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1617, allocations: 25.7 kB / 0.6995 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1618, allocations: 164 kB / 0.6997 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1619, allocations: 19.75 kB / 0.6997 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1619, allocations: 17.7 kB / 0.6997 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1621, allocations: 338.8 kB / 0.7 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.1622, allocations: 19.98 kB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.1623, allocations: 23.97 kB / 0.7001 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1624, allocations: 44.77 kB / 0.7001 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1624, allocations: 4 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002604/0.1627, allocations: 93.38 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1627, allocations: 8 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1627, allocations: 0 / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1628, allocations: 0 / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.1629, allocations: 11.98 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1629, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.163, allocations: 15.83 kB / 0.7002 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.163, allocations: 4 kB / 0.7002 GB, free: 13.21 MB / 0.4981 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.0001514/0.1631, allocations: 165.8 kB / 0.7004 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1632, allocations: 23.72 kB / 0.7004 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.1635, allocations: 119.9 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1635, allocations: 0 / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1635, allocations: 0 / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1636, allocations: 3.938 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.1639, allocations: 261.5 kB / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1639, allocations: 3.938 kB / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.1639, allocations: 15.98 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1639, allocations: 0 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.164, allocations: 4 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.164, allocations: 0 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.164, allocations: 384 / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.1643, allocations: 203.1 kB / 0.701 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1644, allocations: 112.7 kB / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1644, allocations: 0 / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1645, allocations: 7.984 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1646, allocations: 3.938 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1646, allocations: 7.984 kB / 0.7011 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004425/0.165, allocations: 391 kB / 0.7015 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 0.7015 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002628/0.1653, allocations: 20 kB / 0.7015 GB, free: 11.79 MB / 0.4981 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.001828/0.1672, allocations: 0.9879 MB / 0.7025 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1674, allocations: 47.95 kB / 0.7025 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1674, allocations: 0 / 0.7025 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.1675, allocations: 15.98 kB / 0.7026 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.168, allocations: 50.41 kB / 0.7026 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.1712, allocations: 2.583 MB / 0.7051 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.1717, allocations: 0.7786 MB / 0.7059 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.773e-05/0.1718, allocations: 37.92 kB / 0.7059 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1719, allocations: 83.41 kB / 0.706 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.154e-06/0.1719, allocations: 4 kB / 0.706 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.201, allocations: 4.955 MB / 0.7108 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.043, allocations: 3.938 kB / 0.7108 GB, free: 2.348 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)