Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.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.001636/0.001636, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002085/0.002085, allocations: 215.5 kB / 22.25 MB, free: 5.242 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.785 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.002538/0.002538, allocations: 296.9 kB / 312.7 MB, free: 2.59 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.245/1.245, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",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.002953/0.002953, allocations: 96.11 kB / 0.7395 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1718, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002613/0.1744, allocations: 1.399 MB / 0.834 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1765, allocations: 1.199 MB / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.1765, allocations: 0 / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.1766, allocations: 19.84 kB / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1779, allocations: 0.6204 MB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.051e-05/0.1779, allocations: 3.984 kB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1781, allocations: 167.6 kB / 0.836 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1782, allocations: 5.594 kB / 0.836 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.1782, allocations: 71.75 kB / 0.836 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1784, allocations: 107.6 kB / 0.8361 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1784, allocations: 8 kB / 0.8362 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1795, allocations: 0.8149 MB / 0.837 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1796, allocations: 131.5 kB / 0.8371 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1797, allocations: 95.16 kB / 0.8372 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009507/0.1807, allocations: 0.8374 MB / 0.838 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1807, allocations: 0 / 0.838 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1807, allocations: 0 / 0.838 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.1807, allocations: 0 / 0.838 GB, free: 2.84 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0007968/0.1815, allocations: 0.6196 MB / 0.8386 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1815, allocations: 9.344 kB / 0.8386 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.637e-05/0.1816, allocations: 86.62 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1817, allocations: 36.66 kB / 0.8387 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.182, allocations: 191.3 kB / 0.8389 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.182, allocations: 12.36 kB / 0.8389 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.182, allocations: 12.36 kB / 0.8389 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.1828, allocations: 0.6358 MB / 0.8395 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1828, allocations: 0 / 0.8395 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1828, allocations: 4 kB / 0.8395 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.1829, allocations: 136.9 kB / 0.8397 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.1836, allocations: 0.5251 MB / 0.8402 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1857, allocations: 0.9298 MB / 0.8411 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.186, allocations: 276.1 kB / 0.8414 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.1863, allocations: 266.5 kB / 0.8416 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1863, allocations: 4 kB / 0.8416 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1864, allocations: 30.56 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.212e-06/0.1864, allocations: 4 kB / 0.8417 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.0012/0.1876, allocations: 0.9269 MB / 0.8426 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.1877, allocations: 89.03 kB / 0.8426 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.1881, allocations: 393.6 kB / 0.843 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1881, allocations: 25.7 kB / 0.843 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1883, allocations: 204.6 kB / 0.8432 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.1884, allocations: 150.7 kB / 0.8434 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.1885, allocations: 53.67 kB / 0.8434 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1886, allocations: 350.8 kB / 0.8438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.1889, allocations: 266 kB / 0.844 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.1893, allocations: 308.5 kB / 0.8443 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.19, allocations: 0.6722 MB / 0.845 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.19, allocations: 0 / 0.845 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008076/0.1908, allocations: 0.7074 MB / 0.8457 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.1908, allocations: 47.53 kB / 0.8457 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1908, allocations: 0 / 0.8457 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1909, allocations: 11.98 kB / 0.8457 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.1909, allocations: 8.094 kB / 0.8457 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1909, allocations: 0 / 0.8457 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.191, allocations: 43.56 kB / 0.8458 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1911, allocations: 19.98 kB / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (7): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 1 * 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.0002407/0.1913, allocations: 224 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.1914, allocations: 35.77 kB / 0.846 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1914, allocations: 28.41 kB / 0.8461 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.1915, allocations: 31.97 kB / 0.8461 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1915, allocations: 0 / 0.8461 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1915, allocations: 0 / 0.8461 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1925, allocations: 356.2 kB / 0.8464 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1925, allocations: 0 / 0.8464 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.1925, allocations: 0 / 0.8464 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1925, allocations: 0 / 0.8464 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1925, allocations: 4 kB / 0.8464 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1925, allocations: 4 kB / 0.8464 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1925, allocations: 0 / 0.8464 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.1933, allocations: 0.7617 MB / 0.8472 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.1934, allocations: 35.7 kB / 0.8472 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1935, allocations: 11.98 kB / 0.8472 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1935, allocations: 3.938 kB / 0.8472 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1936, allocations: 8 kB / 0.8472 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1936, allocations: 12 kB / 0.8473 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002977/0.1939, allocations: 287.1 kB / 0.8475 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1939, allocations: 0 / 0.8475 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006399/0.1945, allocations: 263.4 kB / 0.8478 GB, free: 8.391 MB / 0.5919 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): 1 * Array equations: 1 * Algorithm blocks: 1 * 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.001563/0.1961, allocations: 1.431 MB / 0.8492 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000755/0.1968, allocations: 0.6391 MB / 0.8498 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1968, allocations: 0 / 0.8498 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.1972, allocations: 349 kB / 0.8501 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1975, allocations: 20.28 kB / 0.8502 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.2039, allocations: 5.118 MB / 0.8552 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2041, allocations: 232.9 kB / 0.8554 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.2043, allocations: 65.86 kB / 0.8554 GB, free: 320 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2044, allocations: 123.4 kB / 0.8556 GB, free: 196 kB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.2044, allocations: 0 / 0.8556 GB, free: 196 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.2434, allocations: 9.199 MB / 0.8645 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.75, allocations: 0 / 0.8645 GB, free: 7.188 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces_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_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 66.01616033120081] Failed to read output from testmodel.py, exit status != 0: 11.865123755764216 11.889772657 11.704669624 Calling exit ...