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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 106.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 212 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.308/1.308, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 278.9 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 180.9 MB / 0.5333 GB, free: 13.81 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 108.1 kB / 0.7342 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1476, allocations: 95.34 MB / 0.8273 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002894/0.1505, allocations: 1.702 MB / 0.829 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1516, allocations: 0.6508 MB / 0.8296 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.1517, allocations: 11.94 kB / 0.8296 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.1522, allocations: 178.5 kB / 0.8298 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.1526, allocations: 213.2 kB / 0.83 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.153, allocations: 190.2 kB / 0.8302 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1533, allocations: 215.4 kB / 0.8304 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1534, allocations: 29.89 kB / 0.8304 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1535, allocations: 87.67 kB / 0.8305 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1537, allocations: 175.5 kB / 0.8307 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.1538, allocations: 15.98 kB / 0.8307 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.1538, allocations: 43.98 kB / 0.8307 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.1539, allocations: 79.69 kB / 0.8308 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.154, allocations: 103.2 kB / 0.8309 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1544, allocations: 278.8 kB / 0.8312 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1544, allocations: 0 / 0.8312 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1544, allocations: 0 / 0.8312 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1544, allocations: 0 / 0.8312 GB, free: 5.93 MB / 0.5762 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.0007873/0.1552, allocations: 0.6145 MB / 0.8318 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1552, allocations: 8.031 kB / 0.8318 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.1552, allocations: 38.75 kB / 0.8318 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.1553, allocations: 32.7 kB / 0.8318 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.1557, allocations: 382.6 kB / 0.8322 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1558, allocations: 4.375 kB / 0.8322 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1558, allocations: 8.375 kB / 0.8322 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.156, allocations: 77.53 kB / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.156, allocations: 0 / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.156, allocations: 4 kB / 0.8323 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.156, allocations: 0 / 0.8323 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1562, allocations: 55.95 kB / 0.8324 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.1567, allocations: 432.5 kB / 0.8328 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1569, allocations: 50.61 kB / 0.8328 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.157, allocations: 28.78 kB / 0.8328 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.157, allocations: 0 / 0.8328 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.157, allocations: 34.56 kB / 0.8329 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.157, allocations: 0 / 0.8329 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004016/0.1574, allocations: 125.5 kB / 0.833 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1575, allocations: 55.39 kB / 0.833 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.158, allocations: 0.5289 MB / 0.8336 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1581, allocations: 29.64 kB / 0.8336 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1582, allocations: 172.1 kB / 0.8338 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.1582, allocations: 3.953 kB / 0.8338 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1582, allocations: 17.7 kB / 0.8338 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1584, allocations: 342.8 kB / 0.8341 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1585, allocations: 19.98 kB / 0.8341 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.1586, allocations: 23.98 kB / 0.8341 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1587, allocations: 45.05 kB / 0.8342 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1587, allocations: 0 / 0.8342 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002532/0.159, allocations: 109.4 kB / 0.8343 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.159, allocations: 8 kB / 0.8343 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.159, allocations: 0 / 0.8343 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.159, allocations: 0 / 0.8343 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.1591, allocations: 11.98 kB / 0.8343 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1591, allocations: 0 / 0.8343 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.1592, allocations: 15.86 kB / 0.8343 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1592, allocations: 0 / 0.8343 GB, free: 2.465 MB / 0.5762 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.0001518/0.1593, allocations: 170.7 kB / 0.8345 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1594, allocations: 27.81 kB / 0.8345 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.1597, allocations: 120.1 kB / 0.8346 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1597, allocations: 0 / 0.8346 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1597, allocations: 0 / 0.8346 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1597, allocations: 3.938 kB / 0.8346 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.16, allocations: 269.5 kB / 0.8349 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.16, allocations: 0 / 0.8349 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.16, allocations: 11.98 kB / 0.8349 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.16, allocations: 0 / 0.8349 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.16, allocations: 4 kB / 0.8349 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.16, allocations: 3.938 kB / 0.8349 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.16, allocations: 0 / 0.8349 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1603, allocations: 207.2 kB / 0.8351 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.1604, allocations: 112.9 kB / 0.8352 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1605, allocations: 8 kB / 0.8352 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1606, allocations: 11.98 kB / 0.8352 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1606, allocations: 7.938 kB / 0.8352 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1606, allocations: 0 / 0.8352 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004248/0.161, allocations: 403.1 kB / 0.8356 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.161, allocations: 0 / 0.8356 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002476/0.1613, allocations: 20 kB / 0.8356 GB, free: 1.008 MB / 0.5762 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.001694/0.163, allocations: 0.9953 MB / 0.8366 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1632, allocations: 47.89 kB / 0.8367 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1632, allocations: 0 / 0.8367 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.1633, allocations: 23.98 kB / 0.8367 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1637, allocations: 49.41 kB / 0.8367 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.1669, allocations: 2.653 MB / 0.8393 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1673, allocations: 0.7753 MB / 0.8401 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.1673, allocations: 41.92 kB / 0.8401 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1675, allocations: 87.41 kB / 0.8402 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1675, allocations: 4 kB / 0.8402 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.1953, allocations: 5.24 MB / 0.8453 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.71, allocations: 13.67 kB / 0.8453 GB, free: 7.164 MB / 0.5919 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.492131756152958] Failed to read output from testmodel.py, exit status != 0: 7.826499249320477 7.8410657089999996 7.683931432 Calling exit ...