Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003923/0.003923, allocations: 287.3 kB / 306.6 MB, free: 8.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.227/1.227, allocations: 180.9 MB / 0.53 GB, free: 14.7 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 103.1 kB / 0.7308 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1887, allocations: 94.2 MB / 0.8228 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002519/0.1913, allocations: 1.367 MB / 0.8242 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1935, allocations: 1.339 MB / 0.8255 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.1935, allocations: 0 / 0.8255 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.1936, allocations: 15.91 kB / 0.8255 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1949, allocations: 0.6321 MB / 0.8261 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.518e-05/0.195, allocations: 11.92 kB / 0.8261 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1951, allocations: 99.72 kB / 0.8262 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1952, allocations: 240 / 0.8262 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1953, allocations: 55.75 kB / 0.8263 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1954, allocations: 71.72 kB / 0.8263 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1954, allocations: 4 kB / 0.8263 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1965, allocations: 0.8696 MB / 0.8272 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.1966, allocations: 63.8 kB / 0.8272 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1967, allocations: 51.61 kB / 0.8273 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.1976, allocations: 0.7246 MB / 0.828 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1976, allocations: 0 / 0.828 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1976, allocations: 0 / 0.828 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.1976, allocations: 0 / 0.828 GB, free: 12.54 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006549/0.1982, allocations: 440.7 kB / 0.8284 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1983, allocations: 8.031 kB / 0.8284 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.1983, allocations: 20.8 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1985, allocations: 142.2 kB / 0.8286 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1986, allocations: 12.36 kB / 0.8286 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1986, allocations: 12.3 kB / 0.8286 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.1989, allocations: 207.4 kB / 0.8288 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1989, allocations: 4 kB / 0.8288 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1989, allocations: 7.984 kB / 0.8288 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/0.199, allocations: 47.94 kB / 0.8289 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.1993, allocations: 140.8 kB / 0.829 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.2001, allocations: 475.7 kB / 0.8295 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.2004, allocations: 78.53 kB / 0.8295 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.2005, allocations: 60.81 kB / 0.8296 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.2005, allocations: 0 / 0.8296 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2005, allocations: 30.56 kB / 0.8296 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2005, allocations: 0 / 0.8296 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003855/0.2009, allocations: 193.7 kB / 0.8298 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.201, allocations: 51.41 kB / 0.8299 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2012, allocations: 242.8 kB / 0.8301 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2012, allocations: 29.7 kB / 0.8301 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2013, allocations: 132.2 kB / 0.8302 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.2014, allocations: 31.75 kB / 0.8303 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.2014, allocations: 25.7 kB / 0.8303 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2016, allocations: 334.8 kB / 0.8306 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.2017, allocations: 39.97 kB / 0.8307 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2018, allocations: 79.33 kB / 0.8307 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.202, allocations: 127.3 kB / 0.8308 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.202, allocations: 0 / 0.8308 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002602/0.2022, allocations: 165.4 kB / 0.831 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2023, allocations: 8.094 kB / 0.831 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2023, allocations: 4 kB / 0.831 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2023, allocations: 0 / 0.831 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2024, allocations: 19.92 kB / 0.831 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2024, allocations: 3.938 kB / 0.831 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.2025, allocations: 15.83 kB / 0.8311 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2025, allocations: 8 kB / 0.8311 GB, free: 9.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001312/0.2026, allocations: 141.7 kB / 0.8312 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.2027, allocations: 19.86 kB / 0.8312 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.203, allocations: 171 kB / 0.8314 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.203, allocations: 4 kB / 0.8314 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.203, allocations: 3.938 kB / 0.8314 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.203, allocations: 3.938 kB / 0.8314 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.2033, allocations: 200.8 kB / 0.8316 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2033, allocations: 0 / 0.8316 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.2034, allocations: 19.94 kB / 0.8316 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2034, allocations: 0 / 0.8316 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2034, allocations: 7.984 kB / 0.8316 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2034, allocations: 4 kB / 0.8316 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2034, allocations: 4.062 kB / 0.8316 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.2037, allocations: 251.3 kB / 0.8319 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2037, allocations: 31.78 kB / 0.8319 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.2038, allocations: 4 kB / 0.8319 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.2039, allocations: 0 / 0.8319 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2039, allocations: 15.92 kB / 0.8319 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2039, allocations: 4 kB / 0.8319 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001674/0.2041, allocations: 175.2 kB / 0.8321 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2041, allocations: 0 / 0.8321 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005338/0.2046, allocations: 215.7 kB / 0.8323 GB, free: 7.867 MB / 0.5762 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0005062/0.2051, allocations: 242.8 kB / 0.8325 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.2054, allocations: 127.8 kB / 0.8326 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2054, allocations: 0 / 0.8326 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.2055, allocations: 80 kB / 0.8327 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2057, allocations: 12 kB / 0.8327 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.2063, allocations: 342.6 kB / 0.8331 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.2067, allocations: 0.7318 MB / 0.8338 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.2068, allocations: 41.06 kB / 0.8338 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.2069, allocations: 23.42 kB / 0.8338 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2069, allocations: 0 / 0.8338 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.007691/0.2146, allocations: 3.863 MB / 0.8376 GB, free: 2.395 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.069580174051225] Failed to read output from testmodel.py, exit status != 0: 0.2220746846869588 0.23738182700000002 0.036720209000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efee3add7b0>