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.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.0007918/0.0007918, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007585/0.0007585, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.001351/0.001351, allocations: 238 kB / 260.2 MB, free: 13.01 MB / 250.7 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 0.664/0.664, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 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: 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 1.553e-06/1.553e-06, allocations: 0 / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.869e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.2198/0.2198, allocations: 1.346 MB / 0.6488 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2214, allocations: 1.251 MB / 0.6501 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.2214, allocations: 1.656 kB / 0.6501 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.891e-05/0.2215, allocations: 15.61 kB / 0.6501 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2226, allocations: 0.6189 MB / 0.6507 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 9.708e-06/0.2226, allocations: 1.484 kB / 0.6507 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2227, allocations: 109 kB / 0.6508 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.2228, allocations: 4.156 kB / 0.6508 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2229, allocations: 83.39 kB / 0.6509 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.223, allocations: 60.88 kB / 0.6509 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.223, allocations: 4.656 kB / 0.6509 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.2237, allocations: 0.8194 MB / 0.6517 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2238, allocations: 56.67 kB / 0.6518 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2238, allocations: 35.45 kB / 0.6518 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.2245, allocations: 0.8358 MB / 0.6526 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2245, allocations: 2.266 kB / 0.6526 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2245, allocations: 0 / 0.6526 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2246, allocations: 0 / 0.6526 GB, free: 55.79 MB / 0.5573 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.0003875/0.2249, allocations: 443.6 kB / 0.6531 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.225, allocations: 12.09 kB / 0.6531 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2251, allocations: 31.17 kB / 0.6531 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2253, allocations: 153.1 kB / 0.6532 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2253, allocations: 3.375 kB / 0.6532 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2253, allocations: 10.77 kB / 0.6533 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.2255, allocations: 208 kB / 0.6535 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2255, allocations: 2.562 kB / 0.6535 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2255, allocations: 1.594 kB / 0.6535 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.2256, allocations: 57.3 kB / 0.6535 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2258, allocations: 141.9 kB / 0.6537 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.2262, allocations: 402.4 kB / 0.654 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2264, allocations: 82.19 kB / 0.6541 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.2264, allocations: 47.58 kB / 0.6542 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2265, allocations: 1.266 kB / 0.6542 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-06/0.2265, allocations: 36.22 kB / 0.6542 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2265, allocations: 1.75 kB / 0.6542 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.2267, allocations: 177.6 kB / 0.6544 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.2267, allocations: 53.16 kB / 0.6544 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.2268, allocations: 165.4 kB / 0.6546 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.2268, allocations: 32.16 kB / 0.6546 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.2269, allocations: 142.1 kB / 0.6547 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.2269, allocations: 27.2 kB / 0.6548 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2269, allocations: 26.95 kB / 0.6548 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.121e-05/0.2269, allocations: 325.4 kB / 0.6551 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.227, allocations: 47.67 kB / 0.6551 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.2271, allocations: 73.77 kB / 0.6552 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2272, allocations: 131.1 kB / 0.6553 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2272, allocations: 0 / 0.6553 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001549/0.2273, allocations: 158.1 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2273, allocations: 5.625 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2273, allocations: 7.438 kB / 0.6555 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2273, allocations: 1.812 kB / 0.6555 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.2274, allocations: 13.16 kB / 0.6555 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2274, allocations: 1.75 kB / 0.6555 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.2274, allocations: 15.11 kB / 0.6555 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2275, allocations: 12.77 kB / 0.6555 GB, free: 53.85 MB / 0.5573 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 5.835e-05/0.2275, allocations: 138.7 kB / 0.6557 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2275, allocations: 7.609 kB / 0.6557 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.2277, allocations: 158.2 kB / 0.6558 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.2277, allocations: 7.062 kB / 0.6558 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2277, allocations: 0 / 0.6558 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2277, allocations: 2.625 kB / 0.6558 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.2279, allocations: 183.8 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2279, allocations: 2.828 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.2279, allocations: 16.55 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2279, allocations: 0 / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2279, allocations: 3.875 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2279, allocations: 1.656 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2279, allocations: 0.5 kB / 0.656 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2281, allocations: 252.5 kB / 0.6563 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.2281, allocations: 12.44 kB / 0.6563 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2281, allocations: 3.469 kB / 0.6563 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.2281, allocations: 7.078 kB / 0.6563 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.2282, allocations: 7.641 kB / 0.6563 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2282, allocations: 6.031 kB / 0.6563 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.2282, allocations: 124 kB / 0.6564 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2282, allocations: 0 / 0.6564 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000347/0.2286, allocations: 221.4 kB / 0.6567 GB, free: 53.21 MB / 0.5573 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.0003493/0.2289, allocations: 277.2 kB / 0.6569 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2291, allocations: 125.3 kB / 0.657 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2291, allocations: 5.062 kB / 0.657 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.2292, allocations: 70.12 kB / 0.6571 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.2293, allocations: 11.05 kB / 0.6571 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.2297, allocations: 365.9 kB / 0.6575 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.632e-05/0.2298, allocations: 127.8 kB / 0.6576 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.2298, allocations: 19.62 kB / 0.6576 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.2298, allocations: 0 / 0.6576 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.004092/0.2339, allocations: 3.698 MB / 0.6612 GB, free: 52.56 MB / 0.5573 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: 6.020794320851564] Failed to read output from testmodel.py, exit status != 0: 0.23875771462917328 0.24548909299999996 0.019216376 Calling exit ...