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.001487/0.001487, allocations: 100.3 kB / 19.73 MB, free: 2.078 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.001649/0.001649, allocations: 212.6 kB / 23.04 MB, free: 4.863 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002676/0.002676, allocations: 300.5 kB / 313.5 MB, free: 2.598 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.346/1.346, allocations: 180.6 MB / 0.5377 GB, free: 14.74 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") [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.002969/0.002969, allocations: 112.9 kB / 0.7408 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2083, allocations: 95.39 MB / 0.834 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002759/0.211, allocations: 1.385 MB / 0.8353 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2133, allocations: 1.211 MB / 0.8365 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.2133, allocations: 3.938 kB / 0.8365 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2135, allocations: 19.91 kB / 0.8365 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.2149, allocations: 0.6126 MB / 0.8371 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.953e-05/0.215, allocations: 11.98 kB / 0.8371 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2152, allocations: 163.5 kB / 0.8373 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.2153, allocations: 5.594 kB / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.2154, allocations: 71.81 kB / 0.8374 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.2155, allocations: 107.6 kB / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.2156, allocations: 8 kB / 0.8375 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.2168, allocations: 0.8188 MB / 0.8383 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.217, allocations: 127.6 kB / 0.8384 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2171, allocations: 91.16 kB / 0.8385 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2181, allocations: 0.8449 MB / 0.8393 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2181, allocations: 0 / 0.8393 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2181, allocations: 0 / 0.8393 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2181, allocations: 0 / 0.8393 GB, free: 2.352 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.0008642/0.219, allocations: 0.6144 MB / 0.8399 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.219, allocations: 12.75 kB / 0.8399 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.2191, allocations: 32.66 kB / 0.8399 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2194, allocations: 195.3 kB / 0.8401 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2194, allocations: 8.375 kB / 0.8401 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2195, allocations: 12.36 kB / 0.8401 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.2202, allocations: 0.6399 MB / 0.8408 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2203, allocations: 0 / 0.8408 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2203, allocations: 3.984 kB / 0.8408 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.2205, allocations: 136.9 kB / 0.8409 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.2211, allocations: 0.5251 MB / 0.8414 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.2233, allocations: 0.8526 MB / 0.8423 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2237, allocations: 272.2 kB / 0.8425 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.224, allocations: 270.4 kB / 0.8428 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.224, allocations: 4 kB / 0.8428 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.224, allocations: 34.5 kB / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.393e-06/0.224, allocations: 0 / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001286/0.2253, allocations: 0.9229 MB / 0.8437 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.2254, allocations: 85.09 kB / 0.8438 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2256, allocations: 178.5 kB / 0.844 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2256, allocations: 25.7 kB / 0.844 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2258, allocations: 217.1 kB / 0.8442 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2259, allocations: 162.6 kB / 0.8443 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.226, allocations: 45.7 kB / 0.8444 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2262, allocations: 334.8 kB / 0.8447 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2265, allocations: 266 kB / 0.845 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.2268, allocations: 308.5 kB / 0.8453 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.2276, allocations: 0.6683 MB / 0.8459 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2276, allocations: 4 kB / 0.8459 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008463/0.2284, allocations: 0.6919 MB / 0.8466 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.2285, allocations: 48.33 kB / 0.8466 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2285, allocations: 3.984 kB / 0.8466 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2285, allocations: 0 / 0.8466 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.2286, allocations: 8 kB / 0.8466 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2286, allocations: 4 kB / 0.8466 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.2286, allocations: 19.78 kB / 0.8467 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.2287, allocations: 16 kB / 0.8467 GB, free: 10.48 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.0002364/0.2289, allocations: 220.8 kB / 0.8469 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.229, allocations: 27.75 kB / 0.8469 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.229, allocations: 23.06 kB / 0.8469 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/0.2291, allocations: 31.98 kB / 0.847 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2291, allocations: 0 / 0.847 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2291, allocations: 0 / 0.847 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2301, allocations: 312.9 kB / 0.8473 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2301, allocations: 0 / 0.8473 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.2301, allocations: 7.938 kB / 0.8473 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2301, allocations: 0 / 0.8473 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2301, allocations: 4 kB / 0.8473 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2301, allocations: 0 / 0.8473 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2301, allocations: 0 / 0.8473 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.231, allocations: 0.754 MB / 0.848 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.231, allocations: 27.67 kB / 0.848 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.2311, allocations: 8 kB / 0.8481 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.2311, allocations: 0 / 0.8481 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2312, allocations: 15.98 kB / 0.8481 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2312, allocations: 16 kB / 0.8481 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00012/0.2313, allocations: 140.3 kB / 0.8482 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2313, allocations: 0 / 0.8482 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000792/0.2321, allocations: 267.3 kB / 0.8485 GB, free: 8.57 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.0005275/0.2327, allocations: 242.8 kB / 0.8487 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000808/0.2335, allocations: 0.6352 MB / 0.8493 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2335, allocations: 0 / 0.8493 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.2338, allocations: 345 kB / 0.8497 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2341, allocations: 19.92 kB / 0.8497 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2355, allocations: 0.9298 MB / 0.8506 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2357, allocations: 232.2 kB / 0.8508 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.2358, allocations: 19.42 kB / 0.8508 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.2358, allocations: 3.938 kB / 0.8508 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of Templates: time 0.00843/0.2442, allocations: 4.847 MB / 0.8556 GB, free: 1.203 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.274172986042686] Failed to read output from testmodel.py, exit status != 0: 0.2520323349162936 0.26786976 0.046520797 Calling exit ...