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.001891/0.001891, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002111/0.002111, allocations: 221.1 kB / 22.26 MB, free: 5.215 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002525/0.002525, allocations: 275.3 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00292/0.00292, allocations: 97.67 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1606, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003274/0.1639, allocations: 1.721 MB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1652, allocations: 0.6625 MB / 0.835 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.1653, allocations: 3.938 kB / 0.835 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.1658, allocations: 185.3 kB / 0.8352 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.1663, allocations: 212.9 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1668, allocations: 196 kB / 0.8356 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1671, allocations: 215.5 kB / 0.8358 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1672, allocations: 33.94 kB / 0.8358 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1673, allocations: 87.67 kB / 0.8359 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1676, allocations: 171.5 kB / 0.8361 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.1676, allocations: 16 kB / 0.8361 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1677, allocations: 43.98 kB / 0.8361 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1678, allocations: 79.69 kB / 0.8362 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1679, allocations: 115.2 kB / 0.8363 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1683, allocations: 274.8 kB / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1683, allocations: 0 / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1683, allocations: 0 / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1683, allocations: 4 kB / 0.8366 GB, free: 4.656 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.0008192/0.1691, allocations: 0.5275 MB / 0.8371 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1691, allocations: 13.34 kB / 0.8371 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1692, allocations: 38.75 kB / 0.8372 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1692, allocations: 32.7 kB / 0.8372 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.1697, allocations: 320.8 kB / 0.8375 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1697, allocations: 4.375 kB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1698, allocations: 8.359 kB / 0.8375 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.17, allocations: 77.55 kB / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.17, allocations: 0 / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.17, allocations: 0 / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.17, allocations: 0 / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.1702, allocations: 55.94 kB / 0.8376 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1707, allocations: 407.6 kB / 0.838 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1709, allocations: 46.56 kB / 0.8381 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.171, allocations: 32.89 kB / 0.8381 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.171, allocations: 3.984 kB / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.171, allocations: 30.56 kB / 0.8381 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.171, allocations: 0 / 0.8381 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003807/0.1714, allocations: 117.5 kB / 0.8382 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.1715, allocations: 51.41 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.1721, allocations: 0.5444 MB / 0.8388 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1721, allocations: 25.7 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1722, allocations: 172 kB / 0.839 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1722, allocations: 11.89 kB / 0.839 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1723, allocations: 13.72 kB / 0.839 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1724, allocations: 346.8 kB / 0.8394 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1725, allocations: 15.98 kB / 0.8394 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.1726, allocations: 27.98 kB / 0.8394 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1728, allocations: 44.77 kB / 0.8394 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1728, allocations: 0 / 0.8394 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002401/0.173, allocations: 101.4 kB / 0.8395 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.173, allocations: 5.719 kB / 0.8395 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.173, allocations: 0 / 0.8395 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.173, allocations: 8 kB / 0.8396 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.1731, allocations: 7.984 kB / 0.8396 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1731, allocations: 4 kB / 0.8396 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.1732, allocations: 15.92 kB / 0.8396 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1732, allocations: 0 / 0.8396 GB, free: 1.395 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.0001521/0.1734, allocations: 166.5 kB / 0.8397 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1734, allocations: 27.81 kB / 0.8398 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.1737, allocations: 120.5 kB / 0.8399 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1737, allocations: 0 / 0.8399 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1737, allocations: 48 / 0.8399 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1737, allocations: 7.922 kB / 0.8399 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.174, allocations: 240.6 kB / 0.8401 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.174, allocations: 0 / 0.8401 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.1741, allocations: 11.98 kB / 0.8401 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1741, allocations: 0 / 0.8401 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1741, allocations: 4 kB / 0.8401 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1741, allocations: 0 / 0.8401 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1741, allocations: 4 kB / 0.8401 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1744, allocations: 211.2 kB / 0.8403 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.1745, allocations: 35.8 kB / 0.8404 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1745, allocations: 0 / 0.8404 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1746, allocations: 7.984 kB / 0.8404 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1746, allocations: 15.88 kB / 0.8404 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.1746, allocations: 0 / 0.8404 GB, free: 492 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004391/0.1751, allocations: 399.1 kB / 0.8408 GB, free: 96 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1751, allocations: 0 / 0.8408 GB, free: 96 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000265/0.1753, allocations: 27.94 kB / 0.8408 GB, free: 68 kB / 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.001826/0.1772, allocations: 0.9853 MB / 0.8418 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1774, allocations: 47.89 kB / 0.8418 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1774, allocations: 0 / 0.8418 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.1775, allocations: 19.98 kB / 0.8418 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1779, allocations: 50.94 kB / 0.8419 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.1812, allocations: 2.649 MB / 0.8445 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1816, allocations: 0.7831 MB / 0.8452 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.154e-05/0.1817, allocations: 37.92 kB / 0.8453 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1819, allocations: 87.41 kB / 0.8454 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.1819, allocations: 3.938 kB / 0.8454 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.2156, allocations: 5.371 MB / 0.8506 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.8, allocations: 11.81 kB / 0.8506 GB, free: 6.113 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.131191249001859] Failed to read output from testmodel.py, exit status != 0: 10.959247726001195 10.975485059 10.804002688 Calling exit ...