Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.001245/0.001245, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001397/0.001397, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 8 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.003955/0.003955, allocations: 290.7 kB / 312.7 MB, free: 2.812 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.159/1.159, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.002715/0.002715, allocations: 95.78 kB / 0.7396 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1758, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002342/0.1782, allocations: 1.358 MB / 0.8341 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.18, allocations: 1.137 MB / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.18, allocations: 0 / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.84e-05/0.1801, allocations: 15.86 kB / 0.8352 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1812, allocations: 0.5153 MB / 0.8357 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.204e-05/0.1812, allocations: 4 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1813, allocations: 103.7 kB / 0.8358 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.1814, allocations: 8.188 kB / 0.8358 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.1815, allocations: 43.83 kB / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1816, allocations: 63.8 kB / 0.8359 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1816, allocations: 4 kB / 0.8359 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.1824, allocations: 0.6668 MB / 0.8365 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1826, allocations: 75.75 kB / 0.8366 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.1826, allocations: 67.36 kB / 0.8367 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.1833, allocations: 0.6116 MB / 0.8373 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1833, allocations: 4 kB / 0.8373 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1833, allocations: 0 / 0.8373 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1833, allocations: 3.938 kB / 0.8373 GB, free: 3.945 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006449/0.184, allocations: 498.1 kB / 0.8378 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.184, allocations: 13.94 kB / 0.8378 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1841, allocations: 54.72 kB / 0.8378 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.1841, allocations: 24.75 kB / 0.8379 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1844, allocations: 174.1 kB / 0.838 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1844, allocations: 4.375 kB / 0.838 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1844, allocations: 11.94 kB / 0.838 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.1848, allocations: 316.4 kB / 0.8383 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1848, allocations: 0 / 0.8383 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1848, allocations: 3.984 kB / 0.8383 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1849, allocations: 79.92 kB / 0.8384 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1852, allocations: 248.4 kB / 0.8387 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1865, allocations: 0.5938 MB / 0.8392 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1867, allocations: 158.8 kB / 0.8394 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1869, allocations: 141 kB / 0.8395 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1869, allocations: 0 / 0.8395 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1869, allocations: 30.56 kB / 0.8395 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.313e-06/0.1869, allocations: 0 / 0.8395 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0007768/0.1877, allocations: 0.5363 MB / 0.8401 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1878, allocations: 81.05 kB / 0.8401 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.188, allocations: 289.9 kB / 0.8404 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1881, allocations: 29.7 kB / 0.8405 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.1882, allocations: 132.7 kB / 0.8406 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.1882, allocations: 118.9 kB / 0.8407 GB, free: 272 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.1883, allocations: 33.7 kB / 0.8407 GB, free: 232 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1885, allocations: 342.8 kB / 0.8411 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1886, allocations: 139.8 kB / 0.8412 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1888, allocations: 127.9 kB / 0.8413 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.1891, allocations: 381.5 kB / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1891, allocations: 4 kB / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004278/0.1896, allocations: 387.3 kB / 0.842 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1896, allocations: 33.7 kB / 0.8421 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1896, allocations: 3.938 kB / 0.8421 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1896, allocations: 0 / 0.8421 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.1897, allocations: 4 kB / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.1897, allocations: 3.938 kB / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.1897, allocations: 23.73 kB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1897, allocations: 8 kB / 0.8421 GB, free: 14.76 MB / 0.5919 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.0001919/0.1899, allocations: 192.1 kB / 0.8423 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.19, allocations: 19.86 kB / 0.8423 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.19, allocations: 22.95 kB / 0.8423 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/0.1901, allocations: 39.91 kB / 0.8424 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1901, allocations: 7.938 kB / 0.8424 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1901, allocations: 0 / 0.8424 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.1907, allocations: 276.4 kB / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1907, allocations: 0 / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.1907, allocations: 0 / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1907, allocations: 0 / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1907, allocations: 12 kB / 0.8427 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1907, allocations: 0 / 0.8427 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1907, allocations: 3.938 kB / 0.8427 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1913, allocations: 490.7 kB / 0.8431 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1913, allocations: 39.72 kB / 0.8432 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1913, allocations: 3.984 kB / 0.8432 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.1914, allocations: 0 / 0.8432 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1914, allocations: 11.88 kB / 0.8432 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1914, allocations: 16 kB / 0.8432 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002062/0.1917, allocations: 221.2 kB / 0.8434 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1917, allocations: 0 / 0.8434 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004863/0.1921, allocations: 163.8 kB / 0.8436 GB, free: 13.18 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.001071/0.1932, allocations: 1.129 MB / 0.8447 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.1937, allocations: 371.1 kB / 0.845 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1937, allocations: 0 / 0.845 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.1939, allocations: 207.3 kB / 0.8452 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1941, allocations: 23.02 kB / 0.8452 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.198, allocations: 3.632 MB / 0.8488 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1984, allocations: 0.7739 MB / 0.8495 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.92e-05/0.1984, allocations: 49 kB / 0.8496 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1986, allocations: 79.41 kB / 0.8497 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1986, allocations: 0 / 0.8497 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.232, allocations: 6.802 MB / 0.8563 GB, free: 104 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.53, allocations: 6.141 kB / 0.8563 GB, free: 104 kB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces_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_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 34.47026432699931] Failed to read output from testmodel.py, exit status != 0: 10.640131047999603 10.669733482 10.481230603 Calling exit ...