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.001208/0.001208, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00126/0.00126, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.289/1.289, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] 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.002291/0.002291, allocations: 290.5 kB / 312.7 MB, free: 2.598 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.103/1.103, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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: "" <> 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.002633/0.002633, allocations: 99.22 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1421, allocations: 95.39 MB / 0.8327 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002305/0.1444, allocations: 1.384 MB / 0.834 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1464, allocations: 1.199 MB / 0.8352 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.1464, allocations: 0 / 0.8352 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.514e-05/0.1465, allocations: 31.78 kB / 0.8352 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.1477, allocations: 0.6283 MB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.037e-05/0.1477, allocations: 3.984 kB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1479, allocations: 167.5 kB / 0.836 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.148, allocations: 9.594 kB / 0.836 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.1481, allocations: 67.75 kB / 0.8361 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1482, allocations: 111.7 kB / 0.8362 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1482, allocations: 8 kB / 0.8362 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1493, allocations: 0.8774 MB / 0.837 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1495, allocations: 123.6 kB / 0.8371 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.1496, allocations: 103.1 kB / 0.8372 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.1504, allocations: 0.8491 MB / 0.8381 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1504, allocations: 4 kB / 0.8381 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1504, allocations: 0 / 0.8381 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1504, allocations: 0 / 0.8381 GB, free: 2.758 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.0007132/0.1512, allocations: 0.6118 MB / 0.8387 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1512, allocations: 9.938 kB / 0.8387 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.1513, allocations: 86.62 kB / 0.8388 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.1513, allocations: 32.66 kB / 0.8388 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1516, allocations: 191.3 kB / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1516, allocations: 12.36 kB / 0.839 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1516, allocations: 8.375 kB / 0.839 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.1523, allocations: 0.6397 MB / 0.8396 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1523, allocations: 0 / 0.8396 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1524, allocations: 7.969 kB / 0.8396 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.1525, allocations: 136.9 kB / 0.8398 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.1531, allocations: 0.5212 MB / 0.8403 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1552, allocations: 0.9375 MB / 0.8412 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1555, allocations: 272.1 kB / 0.8414 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1558, allocations: 270.5 kB / 0.8417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1558, allocations: 4 kB / 0.8417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1558, allocations: 30.56 kB / 0.8417 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.342e-06/0.1558, allocations: 3.938 kB / 0.8417 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001157/0.157, allocations: 0.9308 MB / 0.8427 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.1571, allocations: 85.09 kB / 0.8427 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.1575, allocations: 401.5 kB / 0.8431 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1575, allocations: 25.7 kB / 0.8431 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1577, allocations: 200.7 kB / 0.8433 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1578, allocations: 142.7 kB / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.1579, allocations: 53.69 kB / 0.8435 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.158, allocations: 354.8 kB / 0.8439 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.1583, allocations: 262 kB / 0.8441 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1586, allocations: 312.4 kB / 0.8444 GB, free: 12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.1593, allocations: 0.6722 MB / 0.8451 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1593, allocations: 0 / 0.8451 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007938/0.1601, allocations: 0.7152 MB / 0.8458 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.1601, allocations: 41.81 kB / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1601, allocations: 0 / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1601, allocations: 4 kB / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.1602, allocations: 8 kB / 0.8458 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1602, allocations: 0 / 0.8458 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.1603, allocations: 47.55 kB / 0.8459 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1603, allocations: 16 kB / 0.8459 GB, free: 10.45 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.0002041/0.1605, allocations: 224 kB / 0.8461 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.1606, allocations: 35.75 kB / 0.8461 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.1606, allocations: 36.41 kB / 0.8462 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.1607, allocations: 27.98 kB / 0.8462 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1607, allocations: 0 / 0.8462 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1607, allocations: 0 / 0.8462 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009803/0.1617, allocations: 348.3 kB / 0.8465 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1617, allocations: 0 / 0.8465 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.1617, allocations: 4 kB / 0.8465 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1617, allocations: 0 / 0.8465 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1617, allocations: 4 kB / 0.8465 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1617, allocations: 0 / 0.8465 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1617, allocations: 0 / 0.8465 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.1625, allocations: 0.7578 MB / 0.8473 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.1626, allocations: 47.69 kB / 0.8473 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1626, allocations: 7.938 kB / 0.8473 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.1627, allocations: 4 kB / 0.8473 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1627, allocations: 7.938 kB / 0.8473 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1627, allocations: 16 kB / 0.8473 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002926/0.163, allocations: 287.1 kB / 0.8476 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.163, allocations: 0 / 0.8476 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000631/0.1637, allocations: 255.5 kB / 0.8479 GB, free: 8.32 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.001431/0.1651, allocations: 1.427 MB / 0.8493 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007123/0.1658, allocations: 0.643 MB / 0.8499 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1658, allocations: 0 / 0.8499 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.1661, allocations: 353 kB / 0.8502 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1664, allocations: 17.44 kB / 0.8502 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.1717, allocations: 5.122 MB / 0.8552 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.1719, allocations: 237.3 kB / 0.8555 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.172, allocations: 65.88 kB / 0.8555 GB, free: 240 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.1722, allocations: 119.4 kB / 0.8556 GB, free: 120 kB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.1722, allocations: 4 kB / 0.8556 GB, free: 116 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.2088, allocations: 9.335 MB / 0.8648 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.987/10.2, allocations: 7.656 kB / 0.8648 GB, free: 6.965 MB / 0.6075 GB " [Timeout remaining time 650] (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: 63.924398798000766] Failed to read output from testmodel.py, exit status != 0: 10.299132794025354 10.317435459 10.163677666 Calling exit ...