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: 114.3 kB / 18.94 MB, free: 2.934 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.001364/0.001364, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.299/1.299, allocations: 230.6 MB / 256 MB, free: 8.008 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.002347/0.002347, allocations: 289.8 kB / 312.7 MB, free: 2.812 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.091/1.091, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.002689/0.002689, allocations: 103.1 kB / 0.7396 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1399, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002234/0.1422, allocations: 1.419 MB / 0.8341 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1441, allocations: 1.359 MB / 0.8354 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.1442, allocations: 0 / 0.8354 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.1442, allocations: 19.91 kB / 0.8355 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1454, allocations: 0.6439 MB / 0.8361 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.103e-05/0.1455, allocations: 7.984 kB / 0.8361 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1457, allocations: 159.5 kB / 0.8363 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.1457, allocations: 9.578 kB / 0.8363 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1458, allocations: 71.81 kB / 0.8363 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1459, allocations: 103.7 kB / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1459, allocations: 8 kB / 0.8364 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.147, allocations: 0.8812 MB / 0.8373 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1471, allocations: 131.6 kB / 0.8374 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1472, allocations: 122.8 kB / 0.8375 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.1481, allocations: 0.8452 MB / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1481, allocations: 0 / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1481, allocations: 4 kB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1481, allocations: 0 / 0.8384 GB, free: 2.84 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.000702/0.1488, allocations: 0.6066 MB / 0.839 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1489, allocations: 13.34 kB / 0.839 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/0.1489, allocations: 78.69 kB / 0.8391 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.149, allocations: 40.66 kB / 0.8391 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1492, allocations: 195.3 kB / 0.8393 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1492, allocations: 12.34 kB / 0.8393 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1493, allocations: 4.375 kB / 0.8393 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.1499, allocations: 0.6068 MB / 0.8399 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1499, allocations: 0 / 0.8399 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.15, allocations: 7.984 kB / 0.8399 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.1501, allocations: 136.9 kB / 0.84 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.1507, allocations: 496 kB / 0.8405 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1527, allocations: 0.9648 MB / 0.8414 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.153, allocations: 238.5 kB / 0.8417 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1532, allocations: 228.8 kB / 0.8419 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1532, allocations: 3.984 kB / 0.8419 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1533, allocations: 30.56 kB / 0.8419 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.142e-06/0.1533, allocations: 0 / 0.8419 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001007/0.1543, allocations: 0.8688 MB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1543, allocations: 85.09 kB / 0.8428 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1547, allocations: 389.6 kB / 0.8432 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1547, allocations: 33.64 kB / 0.8433 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1549, allocations: 196.7 kB / 0.8434 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.155, allocations: 150.6 kB / 0.8436 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.155, allocations: 49.69 kB / 0.8436 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1552, allocations: 354.8 kB / 0.844 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1554, allocations: 224.3 kB / 0.8442 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1557, allocations: 278.8 kB / 0.8444 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1563, allocations: 0.6721 MB / 0.8451 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1563, allocations: 0 / 0.8451 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007104/0.1571, allocations: 0.6668 MB / 0.8458 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.1571, allocations: 45.69 kB / 0.8458 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1571, allocations: 0 / 0.8458 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1571, allocations: 4 kB / 0.8458 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.1572, allocations: 7.938 kB / 0.8458 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1572, allocations: 4 kB / 0.8458 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.1573, allocations: 51.45 kB / 0.8459 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1573, allocations: 20.12 kB / 0.8459 GB, free: 10.87 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.0001965/0.1575, allocations: 216 kB / 0.8461 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1576, allocations: 35.77 kB / 0.8461 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1576, allocations: 36.39 kB / 0.8462 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/0.1576, allocations: 31.89 kB / 0.8462 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1576, allocations: 0 / 0.8462 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1576, allocations: 0 / 0.8462 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.1586, allocations: 364.2 kB / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1586, allocations: 0 / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.1586, allocations: 8 kB / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1586, allocations: 0 / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1586, allocations: 4 kB / 0.8465 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1586, allocations: 0 / 0.8465 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1586, allocations: 0 / 0.8465 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.1594, allocations: 0.7249 MB / 0.8473 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.1594, allocations: 43.69 kB / 0.8473 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1595, allocations: 0 / 0.8473 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.1595, allocations: 4 kB / 0.8473 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1596, allocations: 8 kB / 0.8473 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1596, allocations: 12 kB / 0.8473 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002805/0.1599, allocations: 295 kB / 0.8476 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1599, allocations: 0 / 0.8476 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005212/0.1604, allocations: 247.5 kB / 0.8478 GB, free: 8.785 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.001344/0.1617, allocations: 1.41 MB / 0.8492 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.1624, allocations: 0.5656 MB / 0.8498 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1624, allocations: 0 / 0.8498 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1627, allocations: 315.3 kB / 0.8501 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1629, allocations: 22.66 kB / 0.8501 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.168, allocations: 4.954 MB / 0.8549 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1685, allocations: 0.8417 MB / 0.8557 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.1686, allocations: 73.55 kB / 0.8558 GB, free: 440 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1687, allocations: 115.4 kB / 0.8559 GB, free: 324 kB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1687, allocations: 0 / 0.8559 GB, free: 324 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.2044, allocations: 8.997 MB / 0.8647 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.67, allocations: 17.73 kB / 0.8647 GB, free: 7.484 MB / 0.6075 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 64.28149118716829] Failed to read output from testmodel.py, exit status != 0: 10.77374563808553 10.788643252 10.637808891 Calling exit ...