Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.001198/0.001198, allocations: 112.3 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.001239/0.001239, 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.33/1.33, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.002391/0.002391, allocations: 284.9 kB / 309.1 MB, free: 3.961 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.146/1.146, allocations: 180.9 MB / 0.5333 GB, free: 13.75 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.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",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.002685/0.002685, allocations: 108.6 kB / 0.7343 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1434, allocations: 95.34 MB / 0.8274 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.00229/0.1457, allocations: 1.405 MB / 0.8287 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1478, allocations: 1.413 MB / 0.8301 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.1478, allocations: 0 / 0.8301 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.1479, allocations: 23.84 kB / 0.8301 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1491, allocations: 0.5909 MB / 0.8307 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.073e-05/0.1491, allocations: 4 kB / 0.8307 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1493, allocations: 127.5 kB / 0.8308 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1493, allocations: 4 kB / 0.8308 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1494, allocations: 67.75 kB / 0.8309 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1496, allocations: 91.62 kB / 0.831 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1496, allocations: 8 kB / 0.831 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.1504, allocations: 0.737 MB / 0.8317 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.1505, allocations: 71.8 kB / 0.8318 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.1506, allocations: 63.47 kB / 0.8318 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.1514, allocations: 0.7054 MB / 0.8325 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1514, allocations: 4 kB / 0.8325 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1514, allocations: 0 / 0.8325 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1514, allocations: 0 / 0.8325 GB, free: 4.625 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006161/0.152, allocations: 0.525 MB / 0.8331 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1521, allocations: 12.62 kB / 0.8331 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.1521, allocations: 54.72 kB / 0.8331 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.1526, allocations: 40.78 kB / 0.8332 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1528, allocations: 205.5 kB / 0.8334 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1528, allocations: 4.375 kB / 0.8334 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1528, allocations: 12.36 kB / 0.8334 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.1531, allocations: 238.4 kB / 0.8336 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1531, allocations: 0 / 0.8336 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1531, allocations: 7.984 kB / 0.8336 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.61e-05/0.1532, allocations: 59.94 kB / 0.8337 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.1535, allocations: 160.2 kB / 0.8338 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.1543, allocations: 0.5437 MB / 0.8343 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1545, allocations: 82.53 kB / 0.8344 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.1546, allocations: 44.83 kB / 0.8345 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1546, allocations: 11.92 kB / 0.8345 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1547, allocations: 34.56 kB / 0.8345 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1547, allocations: 0 / 0.8345 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003304/0.155, allocations: 165.7 kB / 0.8347 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.155, allocations: 59.34 kB / 0.8347 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1553, allocations: 248 kB / 0.835 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1553, allocations: 25.7 kB / 0.835 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1554, allocations: 152.1 kB / 0.8351 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1554, allocations: 31.72 kB / 0.8352 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.1555, allocations: 33.7 kB / 0.8352 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1556, allocations: 326.8 kB / 0.8355 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.1557, allocations: 48.02 kB / 0.8356 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1558, allocations: 88.19 kB / 0.8356 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.156, allocations: 140.2 kB / 0.8358 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.156, allocations: 0 / 0.8358 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002668/0.1563, allocations: 181.3 kB / 0.8359 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1563, allocations: 4 kB / 0.8359 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1563, allocations: 8.125 kB / 0.836 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1563, allocations: 0 / 0.836 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1564, allocations: 27.86 kB / 0.836 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1564, allocations: 4.062 kB / 0.836 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1565, allocations: 27.78 kB / 0.836 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1566, allocations: 11.98 kB / 0.836 GB, free: 0.7969 MB / 0.5762 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 (11): * Single equations (assignments): 10 * 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.0001066/0.1567, allocations: 133.8 kB / 0.8361 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.1567, allocations: 19.84 kB / 0.8362 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.157, allocations: 178.9 kB / 0.8363 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.157, allocations: 4 kB / 0.8363 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.157, allocations: 0 / 0.8363 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.157, allocations: 0 / 0.8363 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.1573, allocations: 241.5 kB / 0.8366 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1573, allocations: 7.938 kB / 0.8366 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.1574, allocations: 11.98 kB / 0.8366 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1574, allocations: 0 / 0.8366 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1575, allocations: 8 kB / 0.8366 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1575, allocations: 4 kB / 0.8366 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1575, allocations: 0 / 0.8366 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.1577, allocations: 251.3 kB / 0.8368 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.1578, allocations: 100.9 kB / 0.8369 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1578, allocations: 3.984 kB / 0.8369 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1579, allocations: 4 kB / 0.8369 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.158, allocations: 4 kB / 0.837 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.158, allocations: 11.98 kB / 0.837 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001632/0.1581, allocations: 185.2 kB / 0.8371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1581, allocations: 0 / 0.8371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005134/0.1586, allocations: 223.6 kB / 0.8374 GB, free: 15.33 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.0009482/0.1596, allocations: 0.9266 MB / 0.8383 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1599, allocations: 127.8 kB / 0.8384 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1599, allocations: 4 kB / 0.8384 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.16, allocations: 63.89 kB / 0.8384 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1602, allocations: 14 kB / 0.8385 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.1628, allocations: 2.408 MB / 0.8408 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1631, allocations: 0.7435 MB / 0.8415 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.1632, allocations: 41.41 kB / 0.8416 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1633, allocations: 63.34 kB / 0.8416 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.1633, allocations: 0 / 0.8416 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.192, allocations: 6.127 MB / 0.8476 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.699, allocations: 7.172 kB / 0.8476 GB, free: 4.848 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces_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_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.740228139795363] Failed to read output from testmodel.py, exit status != 0: 7.763306120876223 7.77636268 7.622407665 Calling exit ...