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.001612/0.001612, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002169/0.002169, allocations: 217 kB / 22.25 MB, free: 4.852 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.793 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.002549/0.002549, allocations: 279.3 kB / 312.7 MB, free: 2.699 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.222/1.222, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.002911/0.002911, allocations: 109.9 kB / 0.7395 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1841, allocations: 95.39 MB / 0.8326 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002769/0.1869, allocations: 1.323 MB / 0.8339 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1888, allocations: 1.016 MB / 0.8349 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.1889, allocations: 4 kB / 0.8349 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.448e-05/0.189, allocations: 15.84 kB / 0.8349 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.1904, allocations: 499.7 kB / 0.8354 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.649e-05/0.1904, allocations: 0 / 0.8354 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1906, allocations: 107.6 kB / 0.8355 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1906, allocations: 12.19 kB / 0.8355 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.1907, allocations: 43.88 kB / 0.8356 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1908, allocations: 59.8 kB / 0.8356 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1909, allocations: 7.938 kB / 0.8356 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.192, allocations: 0.62 MB / 0.8362 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1922, allocations: 75.75 kB / 0.8363 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.1923, allocations: 55.48 kB / 0.8364 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1933, allocations: 0.6077 MB / 0.837 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1933, allocations: 0 / 0.837 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1933, allocations: 0 / 0.837 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.1933, allocations: 0 / 0.837 GB, free: 3.996 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.0008343/0.1941, allocations: 0.4981 MB / 0.8375 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1942, allocations: 13.34 kB / 0.8375 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1942, allocations: 54.72 kB / 0.8375 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.1943, allocations: 24.75 kB / 0.8375 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1946, allocations: 178.1 kB / 0.8377 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1946, allocations: 384 / 0.8377 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1946, allocations: 15.86 kB / 0.8377 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.1951, allocations: 338.2 kB / 0.838 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1951, allocations: 0 / 0.838 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1951, allocations: 0 / 0.838 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.1952, allocations: 83.86 kB / 0.8381 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1956, allocations: 282.1 kB / 0.8384 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.197, allocations: 0.5822 MB / 0.839 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1973, allocations: 184.4 kB / 0.8391 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1975, allocations: 166.8 kB / 0.8393 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1975, allocations: 4 kB / 0.8393 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1975, allocations: 30.56 kB / 0.8393 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.427e-06/0.1975, allocations: 3.984 kB / 0.8393 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008169/0.1984, allocations: 0.5826 MB / 0.8399 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.1984, allocations: 81.05 kB / 0.84 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1987, allocations: 293.9 kB / 0.8403 GB, free: 408 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1988, allocations: 25.7 kB / 0.8403 GB, free: 376 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.1989, allocations: 136.7 kB / 0.8404 GB, free: 236 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.1989, allocations: 118.9 kB / 0.8405 GB, free: 116 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.199, allocations: 41.69 kB / 0.8406 GB, free: 68 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1992, allocations: 338.8 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1994, allocations: 157.6 kB / 0.841 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1996, allocations: 165.6 kB / 0.8412 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.2, allocations: 381.5 kB / 0.8416 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2, allocations: 0 / 0.8416 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004783/0.2005, allocations: 405.1 kB / 0.842 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.2005, allocations: 41.69 kB / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2005, allocations: 0 / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2005, allocations: 3.938 kB / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.2006, allocations: 0 / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2006, allocations: 7.875 kB / 0.842 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.2007, allocations: 31.72 kB / 0.842 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2007, allocations: 12 kB / 0.842 GB, free: 14.5 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.0001754/0.2009, allocations: 180.1 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.2009, allocations: 23.86 kB / 0.8422 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.201, allocations: 18.97 kB / 0.8423 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.992e-05/0.201, allocations: 47.89 kB / 0.8423 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.201, allocations: 7.938 kB / 0.8423 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.201, allocations: 4 kB / 0.8423 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.2016, allocations: 256.5 kB / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2016, allocations: 0 / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.2017, allocations: 0 / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2017, allocations: 0 / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2017, allocations: 4 kB / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2017, allocations: 3.984 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.2017, allocations: 7.922 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.2023, allocations: 0.508 MB / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.2023, allocations: 43.67 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.2024, allocations: 0 / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.2024, allocations: 4 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.2025, allocations: 15.91 kB / 0.8431 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2025, allocations: 8 kB / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002192/0.2027, allocations: 213.2 kB / 0.8433 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2027, allocations: 0 / 0.8433 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005253/0.2032, allocations: 167.8 kB / 0.8435 GB, free: 12.91 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.001186/0.2044, allocations: 1.154 MB / 0.8446 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.2049, allocations: 422.5 kB / 0.845 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2049, allocations: 0 / 0.845 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.2052, allocations: 241 kB / 0.8453 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2055, allocations: 16.44 kB / 0.8453 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.21, allocations: 3.761 MB / 0.849 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.2102, allocations: 165.2 kB / 0.8491 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.2103, allocations: 49.02 kB / 0.8492 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2104, allocations: 71.41 kB / 0.8492 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.2104, allocations: 0 / 0.8492 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.2564, allocations: 7.049 MB / 0.8561 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.58, allocations: 8.062 kB / 0.8561 GB, free: 15.93 MB / 0.6075 GB " [Timeout remaining time 648] (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: 37.175642969086766] Failed to read output from testmodel.py, exit status != 0: 11.697846450842917 11.722972537 11.52517569 Calling exit ...