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.001289/0.001289, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001413/0.001413, allocations: 212 kB / 19.43 MB, free: 3.637 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.31/1.31, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 179] 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.002354/0.002354, allocations: 295.2 kB / 309.1 MB, free: 3.98 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.127/1.127, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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.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.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",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.002667/0.002667, allocations: 110.3 kB / 0.7342 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1446, allocations: 95.34 MB / 0.8274 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002459/0.147, allocations: 1.379 MB / 0.8287 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1492, allocations: 1.409 MB / 0.8301 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1493, allocations: 0 / 0.8301 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.001e-05/0.1494, allocations: 19.84 kB / 0.8301 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1507, allocations: 0.5831 MB / 0.8307 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 7.815e-06/0.1507, allocations: 4 kB / 0.8307 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1508, allocations: 107.6 kB / 0.8308 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1509, allocations: 4.234 kB / 0.8308 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.151, allocations: 47.83 kB / 0.8308 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1511, allocations: 71.72 kB / 0.8309 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1511, allocations: 8 kB / 0.8309 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.152, allocations: 0.7409 MB / 0.8316 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.1521, allocations: 59.81 kB / 0.8317 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1522, allocations: 51.61 kB / 0.8317 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.1529, allocations: 0.6976 MB / 0.8324 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1529, allocations: 0 / 0.8324 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1529, allocations: 0 / 0.8324 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.153, allocations: 3.938 kB / 0.8324 GB, free: 4.688 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.0006053/0.1536, allocations: 0.5018 MB / 0.8329 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1536, allocations: 8.625 kB / 0.8329 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.1536, allocations: 54.72 kB / 0.833 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.1539, allocations: 28.78 kB / 0.833 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1541, allocations: 200.1 kB / 0.8332 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1541, allocations: 16.31 kB / 0.8332 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1541, allocations: 8.359 kB / 0.8332 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1544, allocations: 200.5 kB / 0.8334 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1544, allocations: 7.938 kB / 0.8334 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1544, allocations: 3.984 kB / 0.8334 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.382e-05/0.1545, allocations: 51.95 kB / 0.8335 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1547, allocations: 144.2 kB / 0.8336 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.1555, allocations: 0.4968 MB / 0.8341 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1557, allocations: 74.59 kB / 0.8341 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.1558, allocations: 52.81 kB / 0.8342 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1558, allocations: 4 kB / 0.8342 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1558, allocations: 38.5 kB / 0.8342 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1558, allocations: 0 / 0.8342 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003398/0.1561, allocations: 181.8 kB / 0.8344 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1562, allocations: 63.22 kB / 0.8345 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1564, allocations: 239.9 kB / 0.8347 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1564, allocations: 25.7 kB / 0.8347 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.1565, allocations: 136.1 kB / 0.8349 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1565, allocations: 31.75 kB / 0.8349 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1566, allocations: 33.69 kB / 0.8349 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1567, allocations: 330.8 kB / 0.8352 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1568, allocations: 39.97 kB / 0.8353 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.1569, allocations: 71.39 kB / 0.8353 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1571, allocations: 131.3 kB / 0.8355 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1571, allocations: 0 / 0.8355 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002426/0.1573, allocations: 165.4 kB / 0.8356 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1573, allocations: 8 kB / 0.8356 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1573, allocations: 0 / 0.8356 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1574, allocations: 0 / 0.8356 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.1574, allocations: 15.98 kB / 0.8356 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1575, allocations: 12.03 kB / 0.8357 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.1575, allocations: 15.84 kB / 0.8357 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1575, allocations: 8 kB / 0.8357 GB, free: 1.082 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.0001065/0.1576, allocations: 137.8 kB / 0.8358 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1577, allocations: 11.91 kB / 0.8358 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.158, allocations: 166.9 kB / 0.836 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.158, allocations: 11.98 kB / 0.836 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.158, allocations: 3.938 kB / 0.836 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.158, allocations: 4.188 kB / 0.836 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.1583, allocations: 237.6 kB / 0.8362 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1583, allocations: 3.938 kB / 0.8362 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.1584, allocations: 11.94 kB / 0.8362 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1584, allocations: 4 kB / 0.8362 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1584, allocations: 4 kB / 0.8363 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1584, allocations: 3.984 kB / 0.8363 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1584, allocations: 3.938 kB / 0.8363 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1586, allocations: 255.4 kB / 0.8365 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.1587, allocations: 93 kB / 0.8366 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1587, allocations: 7.938 kB / 0.8366 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.1588, allocations: 0 / 0.8366 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1588, allocations: 11.92 kB / 0.8366 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1589, allocations: 8 kB / 0.8366 GB, free: 24 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001648/0.159, allocations: 179.3 kB / 0.8368 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.159, allocations: 0 / 0.8368 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005267/0.1595, allocations: 215.7 kB / 0.837 GB, free: 15.64 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.0009268/0.1605, allocations: 0.9267 MB / 0.8379 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.1607, allocations: 123.8 kB / 0.838 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1607, allocations: 0 / 0.838 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1608, allocations: 71.94 kB / 0.8381 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1611, allocations: 18.5 kB / 0.8381 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1635, allocations: 2.324 MB / 0.8404 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1639, allocations: 0.7434 MB / 0.8411 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.164, allocations: 45.38 kB / 0.8411 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.1641, allocations: 55.41 kB / 0.8412 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1641, allocations: 0 / 0.8412 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1926, allocations: 5.838 MB / 0.8469 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.75, allocations: 0 / 0.8469 GB, free: 5.543 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.63095286488533] Failed to read output from testmodel.py, exit status != 0: 7.8296693386510015 7.845663383 7.689652001 Calling exit ...