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.001432/0.001432, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001681/0.001681, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.785 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.002578/0.002578, allocations: 286.7 kB / 312.7 MB, free: 2.578 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.36 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: 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: 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.003048/0.003048, allocations: 101.1 kB / 0.74 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1546, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002364/0.1569, allocations: 1.352 MB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.159, allocations: 1.25 MB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.159, allocations: 0 / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.699e-05/0.1591, allocations: 19.91 kB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.1604, allocations: 0.6125 MB / 0.8363 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.209e-05/0.1604, allocations: 4 kB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1606, allocations: 99.66 kB / 0.8364 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1606, allocations: 8.219 kB / 0.8364 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1608, allocations: 55.77 kB / 0.8364 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1609, allocations: 67.72 kB / 0.8365 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1609, allocations: 8 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1619, allocations: 0.8226 MB / 0.8373 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.162, allocations: 63.81 kB / 0.8374 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.1621, allocations: 39.67 kB / 0.8374 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.1629, allocations: 0.7168 MB / 0.8381 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1629, allocations: 0 / 0.8381 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1629, allocations: 0 / 0.8381 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1629, allocations: 0 / 0.8381 GB, free: 2.676 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.0005678/0.1635, allocations: 448.6 kB / 0.8386 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1635, allocations: 13.94 kB / 0.8386 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.1638, allocations: 28.78 kB / 0.8386 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.164, allocations: 150.2 kB / 0.8387 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.164, allocations: 8.359 kB / 0.8387 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.164, allocations: 8.375 kB / 0.8388 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.1643, allocations: 217.3 kB / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1643, allocations: 0 / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1643, allocations: 3.984 kB / 0.839 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/0.1644, allocations: 51.95 kB / 0.839 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1646, allocations: 144.2 kB / 0.8391 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.1654, allocations: 404.5 kB / 0.8395 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1656, allocations: 74.59 kB / 0.8396 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.1657, allocations: 56.81 kB / 0.8397 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1657, allocations: 4 kB / 0.8397 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1657, allocations: 30.56 kB / 0.8397 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1657, allocations: 0 / 0.8397 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003469/0.1661, allocations: 181.4 kB / 0.8399 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1661, allocations: 55.39 kB / 0.8399 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1663, allocations: 160.9 kB / 0.8401 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1663, allocations: 29.7 kB / 0.8401 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1664, allocations: 140.2 kB / 0.8402 GB, free: 376 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1664, allocations: 31.75 kB / 0.8403 GB, free: 344 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.1665, allocations: 29.64 kB / 0.8403 GB, free: 308 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1666, allocations: 322.8 kB / 0.8406 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.1667, allocations: 47.95 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.1668, allocations: 71.45 kB / 0.8407 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.167, allocations: 131.7 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.167, allocations: 3.938 kB / 0.8408 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002488/0.1672, allocations: 161.5 kB / 0.841 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1673, allocations: 8 kB / 0.841 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1673, allocations: 0 / 0.841 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1673, allocations: 0 / 0.841 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.1674, allocations: 15.98 kB / 0.841 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1674, allocations: 7.938 kB / 0.841 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.1674, allocations: 7.953 kB / 0.841 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1674, allocations: 8 kB / 0.841 GB, free: 15.49 MB / 0.5919 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.0001106/0.1676, allocations: 133.8 kB / 0.8412 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.1676, allocations: 7.953 kB / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.1679, allocations: 174.2 kB / 0.8413 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.1679, allocations: 8 kB / 0.8414 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1679, allocations: 3.938 kB / 0.8414 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1679, allocations: 0 / 0.8414 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1682, allocations: 169.2 kB / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1682, allocations: 0 / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.1682, allocations: 12 kB / 0.8415 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1682, allocations: 0 / 0.8415 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1683, allocations: 7.922 kB / 0.8415 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1683, allocations: 4 kB / 0.8415 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1683, allocations: 4 kB / 0.8415 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1686, allocations: 243.4 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.1686, allocations: 19.83 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1686, allocations: 7.938 kB / 0.8418 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.1687, allocations: 0 / 0.8418 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1687, allocations: 11.92 kB / 0.8418 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1687, allocations: 8 kB / 0.8418 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.1688, allocations: 111.2 kB / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1688, allocations: 0 / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005025/0.1693, allocations: 223.5 kB / 0.8421 GB, free: 14.3 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 (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.0004717/0.1698, allocations: 250.8 kB / 0.8424 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.17, allocations: 119.8 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.1701, allocations: 4.188 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1702, allocations: 71.88 kB / 0.8426 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1704, allocations: 13.86 kB / 0.8426 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.1709, allocations: 330.5 kB / 0.8429 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.1711, allocations: 131 kB / 0.843 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.1712, allocations: 36.64 kB / 0.8431 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.1713, allocations: 11.44 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1713, allocations: 0 / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.007025/0.1783, allocations: 3.592 MB / 0.8466 GB, free: 9.754 MB / 0.5919 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.766535423696041] Failed to read output from testmodel.py, exit status != 0: 0.18528787605464458 0.20024070000000002 0.034302039 Calling exit ...