Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.001794/0.001794, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001709/0.001709, allocations: 213.6 kB / 22.25 MB, free: 5.082 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 8.02 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.002455/0.002455, allocations: 278.7 kB / 312.7 MB, free: 2.836 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.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 12.82 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.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",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.002716/0.002716, allocations: 103 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1734, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.00249/0.1759, allocations: 1.374 MB / 0.8341 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1781, allocations: 1.402 MB / 0.8355 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.1781, allocations: 4 kB / 0.8355 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1782, allocations: 19.84 kB / 0.8355 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.1796, allocations: 0.6399 MB / 0.8361 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.267e-06/0.1796, allocations: 0 / 0.8361 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1798, allocations: 99.66 kB / 0.8362 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.1798, allocations: 12.22 kB / 0.8362 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.18, allocations: 59.75 kB / 0.8363 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1801, allocations: 63.78 kB / 0.8363 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1801, allocations: 4 kB / 0.8363 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1812, allocations: 0.8852 MB / 0.8372 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.1813, allocations: 59.81 kB / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.1813, allocations: 51.61 kB / 0.8373 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.1822, allocations: 0.7249 MB / 0.838 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1822, allocations: 0 / 0.838 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1822, allocations: 3.938 kB / 0.838 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1822, allocations: 0 / 0.838 GB, free: 3.238 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000605/0.1828, allocations: 444.7 kB / 0.8384 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1828, allocations: 12.75 kB / 0.8384 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.1829, allocations: 42.73 kB / 0.8385 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.1831, allocations: 32.78 kB / 0.8385 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1833, allocations: 146.2 kB / 0.8387 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1833, allocations: 8.375 kB / 0.8387 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1833, allocations: 16.34 kB / 0.8387 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1837, allocations: 216 kB / 0.8389 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1837, allocations: 0 / 0.8389 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1837, allocations: 0 / 0.8389 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.1838, allocations: 51.95 kB / 0.8389 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.184, allocations: 144.8 kB / 0.8391 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.1848, allocations: 475.8 kB / 0.8395 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.185, allocations: 78.53 kB / 0.8396 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.1851, allocations: 52.81 kB / 0.8397 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1851, allocations: 0 / 0.8397 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.1851, allocations: 42.56 kB / 0.8397 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 8.51e-07/0.1851, allocations: 0 / 0.8397 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003556/0.1855, allocations: 189.4 kB / 0.8399 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1855, allocations: 63.28 kB / 0.8399 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1858, allocations: 232 kB / 0.8402 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1858, allocations: 25.7 kB / 0.8402 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.1859, allocations: 136.1 kB / 0.8403 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1859, allocations: 27.75 kB / 0.8403 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.186, allocations: 33.7 kB / 0.8404 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1861, allocations: 330.8 kB / 0.8407 GB, free: 320 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.1862, allocations: 39.97 kB / 0.8407 GB, free: 280 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.1863, allocations: 71.39 kB / 0.8408 GB, free: 196 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1865, allocations: 135.7 kB / 0.8409 GB, free: 48 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1865, allocations: 3.938 kB / 0.8409 GB, free: 44 kB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002524/0.1867, allocations: 165.4 kB / 0.8411 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1867, allocations: 4 kB / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1867, allocations: 0 / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1868, allocations: 4 kB / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1868, allocations: 11.98 kB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1868, allocations: 11.88 kB / 0.8411 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.1869, allocations: 19.94 kB / 0.8411 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1869, allocations: 8 kB / 0.8411 GB, free: 15.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001187/0.1871, allocations: 137.8 kB / 0.8413 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.1871, allocations: 11.91 kB / 0.8413 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.1874, allocations: 174.9 kB / 0.8414 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.1874, allocations: 8 kB / 0.8415 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1874, allocations: 3.938 kB / 0.8415 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1874, allocations: 0 / 0.8415 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1877, allocations: 204.7 kB / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1877, allocations: 0 / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.1878, allocations: 16 kB / 0.8417 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1878, allocations: 0 / 0.8417 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1878, allocations: 3.984 kB / 0.8417 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1878, allocations: 4 kB / 0.8417 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1878, allocations: 3.938 kB / 0.8417 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1881, allocations: 251.3 kB / 0.8419 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1881, allocations: 23.89 kB / 0.8419 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1881, allocations: 0 / 0.8419 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.1882, allocations: 0 / 0.8419 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.1882, allocations: 15.92 kB / 0.842 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1883, allocations: 11.94 kB / 0.842 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001569/0.1884, allocations: 171.3 kB / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1884, allocations: 0 / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005483/0.189, allocations: 219.6 kB / 0.8423 GB, free: 14.5 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0009308/0.1899, allocations: 0.9307 MB / 0.8433 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.1902, allocations: 128.2 kB / 0.8434 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1902, allocations: 3.938 kB / 0.8434 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1903, allocations: 75.88 kB / 0.8434 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1905, allocations: 19.92 kB / 0.8435 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.1932, allocations: 2.314 MB / 0.8457 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1936, allocations: 0.7434 MB / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000157/0.1938, allocations: 41.06 kB / 0.8465 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.1939, allocations: 55.41 kB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.1939, allocations: 0 / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.2265, allocations: 5.944 MB / 0.8524 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.52, allocations: 9.297 kB / 0.8524 GB, free: 4.273 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_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_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.015915549000056] Failed to read output from testmodel.py, exit status != 0: 10.626658793000388 10.654197758 10.46710286 Calling exit ...