Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.001189/0.001189, allocations: 110.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.001269/0.001269, 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.317/1.317, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.002353/0.002353, allocations: 295.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.114/1.114, allocations: 180.9 MB / 0.5333 GB, free: 13.88 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.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.002699/0.002699, allocations: 106.7 kB / 0.7342 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1459, allocations: 95.33 MB / 0.8273 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002273/0.1482, allocations: 1.355 MB / 0.8287 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1499, allocations: 1.125 MB / 0.8298 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.15, allocations: 8 kB / 0.8298 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.15, allocations: 11.91 kB / 0.8298 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.151, allocations: 493.4 kB / 0.8303 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.167e-05/0.151, allocations: 0 / 0.8303 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1512, allocations: 95.77 kB / 0.8303 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1512, allocations: 8.188 kB / 0.8304 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.1513, allocations: 51.77 kB / 0.8304 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.1514, allocations: 59.8 kB / 0.8305 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1514, allocations: 4 kB / 0.8305 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.1521, allocations: 0.5772 MB / 0.831 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.1522, allocations: 75.75 kB / 0.8311 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.1523, allocations: 71.36 kB / 0.8312 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.1529, allocations: 0.5805 MB / 0.8317 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1529, allocations: 0 / 0.8317 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1529, allocations: 0 / 0.8317 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.1529, allocations: 0 / 0.8317 GB, free: 5.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006568/0.1536, allocations: 0.5695 MB / 0.8323 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1536, allocations: 16.02 kB / 0.8323 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.1537, allocations: 50.73 kB / 0.8324 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1537, allocations: 28.75 kB / 0.8324 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.154, allocations: 240.4 kB / 0.8326 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.154, allocations: 8.359 kB / 0.8326 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.154, allocations: 3.938 kB / 0.8326 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.1544, allocations: 304.9 kB / 0.8329 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1544, allocations: 0 / 0.8329 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1544, allocations: 3.984 kB / 0.8329 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.1545, allocations: 87.92 kB / 0.833 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.1548, allocations: 256.8 kB / 0.8332 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1561, allocations: 0.63 MB / 0.8339 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1563, allocations: 150.8 kB / 0.834 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1564, allocations: 137.1 kB / 0.8341 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.1564, allocations: 0 / 0.8341 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1565, allocations: 34.56 kB / 0.8342 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.092e-06/0.1565, allocations: 0 / 0.8342 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0007145/0.1572, allocations: 0.5362 MB / 0.8347 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1572, allocations: 85.03 kB / 0.8348 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1575, allocations: 286.6 kB / 0.835 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1575, allocations: 25.7 kB / 0.8351 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1576, allocations: 136.7 kB / 0.8352 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.1577, allocations: 118.9 kB / 0.8353 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1578, allocations: 37.7 kB / 0.8354 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1579, allocations: 338.8 kB / 0.8357 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1581, allocations: 139.9 kB / 0.8358 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1582, allocations: 131.9 kB / 0.8359 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.1586, allocations: 381.5 kB / 0.8363 GB, free: 424 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1586, allocations: 0 / 0.8363 GB, free: 424 kB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004196/0.159, allocations: 391.4 kB / 0.8367 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.1591, allocations: 33.69 kB / 0.8367 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1591, allocations: 7.984 kB / 0.8367 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1591, allocations: 0 / 0.8367 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.1591, allocations: 4 kB / 0.8367 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1591, allocations: 3.938 kB / 0.8367 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1592, allocations: 27.73 kB / 0.8367 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1592, allocations: 12 kB / 0.8368 GB, free: 15.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * 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.0001465/0.1594, allocations: 179.5 kB / 0.8369 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1594, allocations: 19.86 kB / 0.8369 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.1594, allocations: 22.97 kB / 0.837 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.1595, allocations: 43.95 kB / 0.837 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1595, allocations: 3.938 kB / 0.837 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1595, allocations: 0 / 0.837 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1601, allocations: 301.3 kB / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1601, allocations: 4 kB / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.1602, allocations: 0 / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1602, allocations: 0 / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1602, allocations: 7.938 kB / 0.8373 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1602, allocations: 0 / 0.8373 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1602, allocations: 3.938 kB / 0.8373 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.1607, allocations: 490.6 kB / 0.8378 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.1607, allocations: 108.9 kB / 0.8379 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1608, allocations: 11.92 kB / 0.8379 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.1608, allocations: 0 / 0.8379 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1608, allocations: 7.938 kB / 0.8379 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1609, allocations: 12 kB / 0.8379 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002024/0.1611, allocations: 217.9 kB / 0.8381 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1611, allocations: 3.938 kB / 0.8381 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004701/0.1615, allocations: 171.7 kB / 0.8383 GB, free: 14.24 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.001087/0.1626, allocations: 1.145 MB / 0.8394 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1631, allocations: 355.2 kB / 0.8398 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1631, allocations: 0 / 0.8398 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.1633, allocations: 215.2 kB / 0.84 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1635, allocations: 18.06 kB / 0.84 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.1673, allocations: 3.638 MB / 0.8435 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1677, allocations: 0.7715 MB / 0.8443 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.712e-05/0.1678, allocations: 45.06 kB / 0.8443 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1679, allocations: 71.42 kB / 0.8444 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1679, allocations: 0 / 0.8444 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.1978, allocations: 6.549 MB / 0.8508 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.008, allocations: 13.41 kB / 0.8508 GB, free: 1.422 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces_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_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.562788578681648] Failed to read output from testmodel.py, exit status != 0: 8.088756904937327 8.102098033 7.94659259 Calling exit ...