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.001592/0.001592, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001939/0.001939, allocations: 219.5 kB / 23.05 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002429/0.002429, allocations: 281.7 kB / 313.5 MB, free: 2.824 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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.002716/0.002716, allocations: 95.83 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1829, allocations: 95.39 MB / 0.8335 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002626/0.1855, allocations: 1.427 MB / 0.8349 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1877, allocations: 1.347 MB / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1878, allocations: 4 kB / 0.8362 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.1879, allocations: 19.84 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1893, allocations: 0.6517 MB / 0.8369 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.297e-05/0.1893, allocations: 3.984 kB / 0.8369 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1895, allocations: 167.5 kB / 0.837 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1896, allocations: 9.594 kB / 0.837 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.1897, allocations: 63.81 kB / 0.8371 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1898, allocations: 111.6 kB / 0.8372 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.1899, allocations: 12 kB / 0.8372 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.191, allocations: 0.8774 MB / 0.8381 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1912, allocations: 123.6 kB / 0.8382 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1913, allocations: 126.9 kB / 0.8383 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000996/0.1923, allocations: 0.8452 MB / 0.8391 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1923, allocations: 0 / 0.8391 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1923, allocations: 0 / 0.8391 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1923, allocations: 0 / 0.8391 GB, free: 2.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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0008392/0.1932, allocations: 0.6066 MB / 0.8397 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1932, allocations: 9.938 kB / 0.8397 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.1932, allocations: 8.188 kB / 0.8398 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1933, allocations: 78.7 kB / 0.8398 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1934, allocations: 40.61 kB / 0.8399 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1937, allocations: 195.3 kB / 0.8401 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1937, allocations: 8.359 kB / 0.8401 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1937, allocations: 8.312 kB / 0.8401 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.1944, allocations: 0.6052 MB / 0.8407 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1945, allocations: 0 / 0.8407 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1945, allocations: 11.97 kB / 0.8407 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.1947, allocations: 132.9 kB / 0.8408 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.1953, allocations: 0.4922 MB / 0.8413 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1977, allocations: 0.9609 MB / 0.8422 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.198, allocations: 242.5 kB / 0.8425 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.1982, allocations: 232.8 kB / 0.8427 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1982, allocations: 0 / 0.8427 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1983, allocations: 34.5 kB / 0.8427 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.243e-06/0.1983, allocations: 4 kB / 0.8427 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001197/0.1995, allocations: 0.8649 MB / 0.8436 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.1995, allocations: 85.09 kB / 0.8436 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.2, allocations: 389.6 kB / 0.844 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2, allocations: 25.7 kB / 0.844 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2001, allocations: 200.7 kB / 0.8442 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2003, allocations: 150.6 kB / 0.8444 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.2003, allocations: 49.69 kB / 0.8444 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2005, allocations: 358.7 kB / 0.8448 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.2008, allocations: 224.3 kB / 0.845 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.2011, allocations: 278.8 kB / 0.8452 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.2018, allocations: 0.6683 MB / 0.8459 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2018, allocations: 0 / 0.8459 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007784/0.2026, allocations: 0.6667 MB / 0.8465 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.2026, allocations: 41.69 kB / 0.8466 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2026, allocations: 0 / 0.8466 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2026, allocations: 0 / 0.8466 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.2027, allocations: 8 kB / 0.8466 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2027, allocations: 4 kB / 0.8466 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2028, allocations: 55.58 kB / 0.8466 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.2029, allocations: 19.98 kB / 0.8467 GB, free: 10.88 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.000243/0.2031, allocations: 220 kB / 0.8469 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.2032, allocations: 35.77 kB / 0.8469 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.2032, allocations: 32.41 kB / 0.8469 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.2033, allocations: 31.89 kB / 0.847 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2033, allocations: 0 / 0.847 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2033, allocations: 0 / 0.847 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2044, allocations: 364.2 kB / 0.8473 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2044, allocations: 4 kB / 0.8473 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.2044, allocations: 8 kB / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2044, allocations: 0 / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2044, allocations: 7.938 kB / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2044, allocations: 0 / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2044, allocations: 0 / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.2052, allocations: 0.721 MB / 0.848 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.2053, allocations: 43.62 kB / 0.8481 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.2053, allocations: 8 kB / 0.8481 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.2054, allocations: 4 kB / 0.8481 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2054, allocations: 11.98 kB / 0.8481 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.2055, allocations: 12 kB / 0.8481 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003154/0.2058, allocations: 283.1 kB / 0.8484 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2058, allocations: 4 kB / 0.8484 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006742/0.2065, allocations: 243.5 kB / 0.8486 GB, free: 8.793 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.001607/0.2081, allocations: 1.406 MB / 0.85 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007439/0.2088, allocations: 0.5616 MB / 0.8505 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2088, allocations: 0 / 0.8505 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.2092, allocations: 327.2 kB / 0.8509 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.2094, allocations: 17.44 kB / 0.8509 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.2151, allocations: 4.954 MB / 0.8557 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2156, allocations: 0.8339 MB / 0.8565 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.2157, allocations: 65.62 kB / 0.8566 GB, free: 460 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2159, allocations: 119.4 kB / 0.8567 GB, free: 340 kB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.2159, allocations: 0 / 0.8567 GB, free: 340 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2472, allocations: 9.037 MB / 0.8655 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.86, allocations: 12.83 kB / 0.8655 GB, free: 7.477 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.0465154700214] Failed to read output from testmodel.py, exit status != 0: 12.023202497977763 12.04005927 11.844500349 Calling exit ...