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.001563/0.001563, allocations: 101.9 kB / 19.73 MB, free: 2.133 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.001935/0.001935, allocations: 216.7 kB / 23.03 MB, free: 4.949 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.002491/0.002491, allocations: 283.2 kB / 313.5 MB, free: 2.629 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="cs",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.002814/0.002814, allocations: 97.17 kB / 0.7403 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1862, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002582/0.1888, allocations: 1.321 MB / 0.8347 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1907, allocations: 1.012 MB / 0.8357 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.1908, allocations: 0 / 0.8357 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1909, allocations: 19.91 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.1921, allocations: 0.4997 MB / 0.8362 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.518e-05/0.1922, allocations: 0 / 0.8362 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1923, allocations: 107.7 kB / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1924, allocations: 192 / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.1925, allocations: 51.75 kB / 0.8363 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1926, allocations: 67.73 kB / 0.8364 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1926, allocations: 8 kB / 0.8364 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1937, allocations: 0.6552 MB / 0.8371 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1938, allocations: 79.69 kB / 0.8371 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1939, allocations: 63.47 kB / 0.8372 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.1947, allocations: 0.6039 MB / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1947, allocations: 0 / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1947, allocations: 0 / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1947, allocations: 4 kB / 0.8378 GB, free: 3.855 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.0008514/0.1956, allocations: 0.4942 MB / 0.8383 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.1956, allocations: 9.344 kB / 0.8383 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.336e-05/0.1957, allocations: 8.188 kB / 0.8383 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.1957, allocations: 58.72 kB / 0.8383 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.1958, allocations: 20.75 kB / 0.8384 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.196, allocations: 182 kB / 0.8385 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1961, allocations: 8.125 kB / 0.8385 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1961, allocations: 4 kB / 0.8385 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.1965, allocations: 342.2 kB / 0.8389 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1966, allocations: 0 / 0.8389 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1966, allocations: 0 / 0.8389 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.1967, allocations: 87.86 kB / 0.839 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.197, allocations: 274.1 kB / 0.8392 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1985, allocations: 0.5861 MB / 0.8398 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1987, allocations: 180.4 kB / 0.84 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1989, allocations: 170.8 kB / 0.8401 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1989, allocations: 4 kB / 0.8401 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.199, allocations: 30.56 kB / 0.8402 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.199, allocations: 0 / 0.8402 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.00084/0.1998, allocations: 0.5864 MB / 0.8407 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1999, allocations: 89.03 kB / 0.8408 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2002, allocations: 281.9 kB / 0.8411 GB, free: 264 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.2002, allocations: 29.7 kB / 0.8411 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.2003, allocations: 132.7 kB / 0.8412 GB, free: 92 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.2004, allocations: 123.1 kB / 0.8414 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.2005, allocations: 33.7 kB / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2006, allocations: 342.8 kB / 0.8417 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2008, allocations: 161.6 kB / 0.8419 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.201, allocations: 161.6 kB / 0.842 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.2014, allocations: 381.5 kB / 0.8424 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2014, allocations: 0 / 0.8424 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004927/0.2019, allocations: 416.9 kB / 0.8428 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.2019, allocations: 33.7 kB / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2019, allocations: 0 / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.202, allocations: 0 / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.202, allocations: 7.75 kB / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.202, allocations: 0 / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.2021, allocations: 27.78 kB / 0.8429 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.2021, allocations: 8 kB / 0.8429 GB, free: 14.36 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.000166/0.2023, allocations: 188.1 kB / 0.843 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.2023, allocations: 23.81 kB / 0.8431 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.2024, allocations: 22.95 kB / 0.8431 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/0.2024, allocations: 47.84 kB / 0.8431 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2024, allocations: 0 / 0.8431 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2024, allocations: 0 / 0.8431 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.2031, allocations: 256.5 kB / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2031, allocations: 0 / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.2031, allocations: 4 kB / 0.8434 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.2031, allocations: 4 kB / 0.8434 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2032, allocations: 7.984 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2032, allocations: 7.938 kB / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2032, allocations: 0 / 0.8434 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.2037, allocations: 0.5119 MB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2038, allocations: 31.88 kB / 0.8439 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2038, allocations: 4 kB / 0.8439 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.2039, allocations: 3.938 kB / 0.8439 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2039, allocations: 11.97 kB / 0.8439 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2039, allocations: 8 kB / 0.844 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002217/0.2042, allocations: 221.2 kB / 0.8442 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2042, allocations: 0 / 0.8442 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005443/0.2047, allocations: 171.8 kB / 0.8443 GB, free: 12.76 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.001238/0.2059, allocations: 1.154 MB / 0.8455 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.2065, allocations: 418.5 kB / 0.8459 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2065, allocations: 0 / 0.8459 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.2067, allocations: 233 kB / 0.8461 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.207, allocations: 20.42 kB / 0.8461 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.2113, allocations: 3.769 MB / 0.8498 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2115, allocations: 165.9 kB / 0.8499 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.2116, allocations: 49 kB / 0.85 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2117, allocations: 79.36 kB / 0.8501 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.2117, allocations: 0 / 0.8501 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2409, allocations: 6.766 MB / 0.8567 GB, free: 88 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.06, allocations: 14.55 kB / 0.8567 GB, free: 80 kB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.31095104699489] Failed to read output from testmodel.py, exit status != 0: 12.229461750946939 12.246324354 12.048351507 Calling exit ...