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.0007411/0.0007411, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00075/0.00075, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8588/0.8588, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001413/0.001413, allocations: 230.2 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6662/0.6662, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.563e-05, allocations: 10.28 kB / 0.6462 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.001993/0.002009, allocations: 1.67 MB / 0.6479 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2213/0.2233, allocations: 0.6325 MB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.2234, allocations: 6.156 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.2239, allocations: 179.5 kB / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.2243, allocations: 211.5 kB / 0.6489 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.2246, allocations: 197.8 kB / 0.6491 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.2248, allocations: 219.9 kB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2249, allocations: 23.73 kB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.225, allocations: 112.5 kB / 0.6494 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2252, allocations: 159.6 kB / 0.6496 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2252, allocations: 13.91 kB / 0.6496 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.2253, allocations: 44.67 kB / 0.6496 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.2254, allocations: 88.62 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2255, allocations: 45.39 kB / 0.6497 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2258, allocations: 278.2 kB / 0.65 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2258, allocations: 0.7031 kB / 0.65 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2258, allocations: 0 / 0.65 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2258, allocations: 0 / 0.65 GB, free: 55.63 MB / 0.5573 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.000533/0.2263, allocations: 0.5258 MB / 0.6505 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2263, allocations: 11.72 kB / 0.6505 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.2264, allocations: 37.06 kB / 0.6506 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.2264, allocations: 34.86 kB / 0.6506 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2267, allocations: 319.1 kB / 0.6509 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.2267, allocations: 2.375 kB / 0.6509 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2267, allocations: 6.531 kB / 0.6509 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2268, allocations: 75.12 kB / 0.651 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2269, allocations: 384 / 0.651 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2269, allocations: 10.56 kB / 0.651 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2269, allocations: 0.5625 kB / 0.651 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.227, allocations: 49.84 kB / 0.651 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.2273, allocations: 382.3 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2274, allocations: 52.91 kB / 0.6515 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.2275, allocations: 27.09 kB / 0.6515 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2275, allocations: 1.125 kB / 0.6515 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.2275, allocations: 33.66 kB / 0.6515 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2275, allocations: 0 / 0.6515 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002373/0.2277, allocations: 119.5 kB / 0.6516 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.2277, allocations: 54.41 kB / 0.6517 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.2281, allocations: 0.5304 MB / 0.6522 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.2281, allocations: 27.36 kB / 0.6522 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2282, allocations: 173 kB / 0.6524 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.2282, allocations: 6.875 kB / 0.6524 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.2282, allocations: 14 kB / 0.6524 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.2283, allocations: 352.8 kB / 0.6527 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.2283, allocations: 18.47 kB / 0.6528 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.2284, allocations: 21.84 kB / 0.6528 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.2285, allocations: 49.77 kB / 0.6528 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2285, allocations: 0 / 0.6528 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001261/0.2286, allocations: 105.3 kB / 0.6529 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2286, allocations: 6.344 kB / 0.6529 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2286, allocations: 0.5625 kB / 0.6529 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2286, allocations: 0.5312 kB / 0.6529 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.2287, allocations: 14.42 kB / 0.653 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2287, allocations: 0 / 0.653 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.2287, allocations: 10.47 kB / 0.653 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2287, allocations: 3.25 kB / 0.653 GB, free: 53.82 MB / 0.5573 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 7.999e-05/0.2288, allocations: 172.7 kB / 0.6531 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2288, allocations: 29.28 kB / 0.6532 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.229, allocations: 122.1 kB / 0.6533 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.229, allocations: 3.938 kB / 0.6533 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.229, allocations: 0 / 0.6533 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.229, allocations: 0 / 0.6533 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2291, allocations: 227.7 kB / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2291, allocations: 0 / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.2292, allocations: 10.64 kB / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2292, allocations: 2.25 kB / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.2292, allocations: 0 / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2292, allocations: 4.844 kB / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2292, allocations: 0.5 kB / 0.6535 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2293, allocations: 205.4 kB / 0.6537 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.2293, allocations: 36.38 kB / 0.6537 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2294, allocations: 3 kB / 0.6537 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.2294, allocations: 6.047 kB / 0.6538 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.2294, allocations: 7.688 kB / 0.6538 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2294, allocations: 0 / 0.6538 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00026/0.2297, allocations: 398.6 kB / 0.6541 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2297, allocations: 1.719 kB / 0.6541 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001723/0.2299, allocations: 25.33 kB / 0.6542 GB, free: 53.07 MB / 0.5573 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.0007362/0.2306, allocations: 1.007 MB / 0.6551 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2307, allocations: 48.91 kB / 0.6552 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2307, allocations: 3.938 kB / 0.6552 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.2308, allocations: 19.89 kB / 0.6552 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.2311, allocations: 47.08 kB / 0.6553 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.2329, allocations: 2.66 MB / 0.6579 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.233, allocations: 171.4 kB / 0.658 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.265e-05/0.2331, allocations: 39.28 kB / 0.6581 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.2331, allocations: 89.33 kB / 0.6581 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2331, allocations: 1.844 kB / 0.6581 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.2504, allocations: 6.059 MB / 0.6641 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/7.019, allocations: 14.42 kB / 0.6641 GB, free: 49.11 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.64535857271403] Failed to read output from testmodel.py, exit status != 0: 7.117874978110194 7.128087644 6.900330727 Calling exit ...