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.001267/0.001267, allocations: 101.3 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.001416/0.001416, allocations: 218.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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002562/0.002562, allocations: 281 kB / 313.5 MB, free: 2.625 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.231/1.231, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",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.002786/0.002786, allocations: 98.09 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1817, allocations: 95.38 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002722/0.1844, allocations: 1.392 MB / 0.8348 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1868, allocations: 1.203 MB / 0.8359 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.1869, allocations: 4 kB / 0.8359 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.187, allocations: 19.84 kB / 0.836 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1888, allocations: 0.636 MB / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.227e-05/0.1889, allocations: 3.984 kB / 0.8366 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.1893, allocations: 163.5 kB / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.1893, allocations: 5.594 kB / 0.8367 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1894, allocations: 71.81 kB / 0.8368 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1897, allocations: 107.6 kB / 0.8369 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1897, allocations: 8 kB / 0.8369 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1911, allocations: 0.8812 MB / 0.8378 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1913, allocations: 119.6 kB / 0.8379 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1914, allocations: 99.16 kB / 0.838 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1926, allocations: 0.8608 MB / 0.8388 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1926, allocations: 0 / 0.8388 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1926, allocations: 0 / 0.8388 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1926, allocations: 0 / 0.8388 GB, free: 2.727 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.0009219/0.1935, allocations: 0.6105 MB / 0.8394 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1936, allocations: 9.938 kB / 0.8394 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.1936, allocations: 8.188 kB / 0.8394 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.908e-05/0.1937, allocations: 74.7 kB / 0.8395 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.1938, allocations: 40.66 kB / 0.8396 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1941, allocations: 203.2 kB / 0.8398 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1941, allocations: 8.375 kB / 0.8398 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.1941, allocations: 12.36 kB / 0.8398 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.1949, allocations: 0.6382 MB / 0.8404 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1949, allocations: 0 / 0.8404 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1949, allocations: 3.984 kB / 0.8404 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.1951, allocations: 136.9 kB / 0.8405 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.1958, allocations: 0.529 MB / 0.841 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.1981, allocations: 0.9336 MB / 0.842 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1984, allocations: 272.2 kB / 0.8422 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.1987, allocations: 262.5 kB / 0.8425 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1987, allocations: 8 kB / 0.8425 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1988, allocations: 30.56 kB / 0.8425 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.945e-06/0.1988, allocations: 0 / 0.8425 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001266/0.2, allocations: 0.9385 MB / 0.8434 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.2001, allocations: 81.11 kB / 0.8435 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.2006, allocations: 397.6 kB / 0.8439 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2006, allocations: 29.7 kB / 0.8439 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2008, allocations: 196.7 kB / 0.8441 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2009, allocations: 150.6 kB / 0.8442 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.201, allocations: 45.7 kB / 0.8443 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2012, allocations: 358.7 kB / 0.8446 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2015, allocations: 266 kB / 0.8449 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.2018, allocations: 308.5 kB / 0.8452 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.2025, allocations: 0.6683 MB / 0.8458 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2025, allocations: 0 / 0.8458 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008301/0.2033, allocations: 0.7075 MB / 0.8465 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.2034, allocations: 45.81 kB / 0.8466 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2034, allocations: 0 / 0.8466 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2034, allocations: 0 / 0.8466 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.2035, allocations: 8 kB / 0.8466 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2035, allocations: 7.984 kB / 0.8466 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2036, allocations: 47.52 kB / 0.8466 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.2036, allocations: 19.94 kB / 0.8466 GB, free: 10.41 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.0002219/0.2039, allocations: 216 kB / 0.8468 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.2039, allocations: 39.7 kB / 0.8469 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.204, allocations: 32.41 kB / 0.8469 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-05/0.204, allocations: 31.98 kB / 0.8469 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.204, allocations: 0 / 0.8469 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.204, allocations: 0 / 0.8469 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2052, allocations: 352.3 kB / 0.8473 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2052, allocations: 0 / 0.8473 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.2052, allocations: 4 kB / 0.8473 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2052, allocations: 0 / 0.8473 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.2052, allocations: 7.984 kB / 0.8473 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2052, allocations: 0 / 0.8473 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2052, allocations: 4 kB / 0.8473 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.2061, allocations: 0.7577 MB / 0.848 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.2062, allocations: 47.69 kB / 0.8481 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.2062, allocations: 0 / 0.8481 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.2063, allocations: 8 kB / 0.8481 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2063, allocations: 7.984 kB / 0.8481 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.2063, allocations: 16 kB / 0.8481 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003163/0.2066, allocations: 283.1 kB / 0.8484 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2067, allocations: 0 / 0.8484 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006879/0.2073, allocations: 251.5 kB / 0.8486 GB, free: 8.285 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.001686/0.209, allocations: 1.437 MB / 0.85 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008072/0.2098, allocations: 0.6352 MB / 0.8506 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2098, allocations: 3.938 kB / 0.8506 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.2102, allocations: 356.9 kB / 0.851 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2105, allocations: 17.44 kB / 0.851 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.2165, allocations: 5.122 MB / 0.856 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2167, allocations: 232.9 kB / 0.8562 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.2169, allocations: 65.81 kB / 0.8563 GB, free: 200 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2171, allocations: 119.4 kB / 0.8564 GB, free: 80 kB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.2171, allocations: 4 kB / 0.8564 GB, free: 76 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.2493, allocations: 8.937 MB / 0.8651 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.21, allocations: 17.84 kB / 0.8652 GB, free: 7.336 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.39834669302218] Failed to read output from testmodel.py, exit status != 0: 12.378117564017884 12.405315108 12.207799839 Calling exit ...