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.001433/0.001433, allocations: 109.9 kB / 16.46 MB, free: 6.508 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.001576/0.001576, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.333/1.333, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.002351/0.002351, allocations: 296.8 kB / 309.1 MB, free: 3.977 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.126/1.126, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",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.00266/0.00266, allocations: 95.16 kB / 0.7342 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1391, allocations: 95.34 MB / 0.8274 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002236/0.1414, allocations: 1.426 MB / 0.8287 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1433, allocations: 1.355 MB / 0.8301 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.1433, allocations: 0 / 0.8301 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.97e-05/0.1434, allocations: 19.84 kB / 0.8301 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1446, allocations: 0.5987 MB / 0.8307 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.029e-05/0.1446, allocations: 7.984 kB / 0.8307 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1448, allocations: 163.5 kB / 0.8308 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1448, allocations: 9.391 kB / 0.8308 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.1449, allocations: 67.83 kB / 0.8309 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.145, allocations: 103.7 kB / 0.831 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1451, allocations: 11.94 kB / 0.831 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.146, allocations: 0.737 MB / 0.8317 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1461, allocations: 119.7 kB / 0.8319 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1462, allocations: 126.8 kB / 0.832 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.147, allocations: 0.8179 MB / 0.8328 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.147, allocations: 3.984 kB / 0.8328 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.147, allocations: 0 / 0.8328 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.147, allocations: 4 kB / 0.8328 GB, free: 4.324 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.0007589/0.1478, allocations: 0.678 MB / 0.8334 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1478, allocations: 12.03 kB / 0.8335 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.644e-05/0.1479, allocations: 74.7 kB / 0.8335 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.148, allocations: 40.61 kB / 0.8336 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1482, allocations: 245.2 kB / 0.8338 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1482, allocations: 8.375 kB / 0.8338 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1483, allocations: 12.36 kB / 0.8338 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.1489, allocations: 0.6068 MB / 0.8344 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1489, allocations: 0 / 0.8344 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1489, allocations: 3.984 kB / 0.8344 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.1491, allocations: 132.9 kB / 0.8345 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.1496, allocations: 0.5 MB / 0.835 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1517, allocations: 0.9931 MB / 0.836 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.152, allocations: 242.4 kB / 0.8362 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.1523, allocations: 228.8 kB / 0.8364 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1523, allocations: 0 / 0.8364 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1523, allocations: 30.56 kB / 0.8365 GB, free: 364 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.072e-06/0.1523, allocations: 3.938 kB / 0.8365 GB, free: 360 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.001033/0.1533, allocations: 0.8667 MB / 0.8373 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1534, allocations: 81.11 kB / 0.8374 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.1538, allocations: 405.5 kB / 0.8378 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1538, allocations: 29.7 kB / 0.8378 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1539, allocations: 192.7 kB / 0.838 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.154, allocations: 150.6 kB / 0.8381 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.1541, allocations: 45.7 kB / 0.8382 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1543, allocations: 354.8 kB / 0.8385 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1545, allocations: 228.3 kB / 0.8387 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.1548, allocations: 274.8 kB / 0.839 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.1554, allocations: 0.6672 MB / 0.8397 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1554, allocations: 0 / 0.8397 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007045/0.1561, allocations: 0.6784 MB / 0.8403 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.1561, allocations: 37.69 kB / 0.8404 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1561, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1561, allocations: 4 kB / 0.8404 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.1562, allocations: 11.98 kB / 0.8404 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1562, allocations: 0 / 0.8404 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.1563, allocations: 51.52 kB / 0.8404 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.1563, allocations: 16 kB / 0.8404 GB, free: 12.17 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.0001899/0.1565, allocations: 223.5 kB / 0.8407 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.1566, allocations: 35.77 kB / 0.8407 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1566, allocations: 28.41 kB / 0.8407 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.1567, allocations: 31.89 kB / 0.8407 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1567, allocations: 3.984 kB / 0.8407 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1567, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1577, allocations: 385.2 kB / 0.8411 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1577, allocations: 0 / 0.8411 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.1578, allocations: 8.094 kB / 0.8411 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1578, allocations: 3.984 kB / 0.8411 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1578, allocations: 15.97 kB / 0.8411 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1578, allocations: 0 / 0.8411 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1578, allocations: 0 / 0.8411 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.1585, allocations: 0.7171 MB / 0.8418 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.1586, allocations: 112.8 kB / 0.8419 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1586, allocations: 7.984 kB / 0.842 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1587, allocations: 4 kB / 0.842 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.1587, allocations: 8 kB / 0.842 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1588, allocations: 19.94 kB / 0.842 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002764/0.159, allocations: 287.1 kB / 0.8423 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.159, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005574/0.1596, allocations: 243.5 kB / 0.8425 GB, free: 9.953 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.001419/0.161, allocations: 1.406 MB / 0.8439 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006637/0.1617, allocations: 0.5694 MB / 0.8444 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1617, allocations: 0 / 0.8444 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.162, allocations: 315.2 kB / 0.8447 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1622, allocations: 17.44 kB / 0.8447 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.1675, allocations: 4.966 MB / 0.8496 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1679, allocations: 0.8346 MB / 0.8504 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.1681, allocations: 61.53 kB / 0.8505 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1682, allocations: 123.4 kB / 0.8506 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.1682, allocations: 0 / 0.8506 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.1999, allocations: 8.68 MB / 0.8591 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.972, allocations: 14.06 kB / 0.8591 GB, free: 8.984 MB / 0.6075 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces_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_RectangularCuboidSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 61.728726104367524] Failed to read output from testmodel.py, exit status != 0: 8.056463259737939 8.079638848 7.928918179 Calling exit ...