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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000868/0.000868, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8806/0.8806, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 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.002247/0.002247, allocations: 236.8 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6644/0.6644, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.807e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.001711/0.001729, allocations: 1.384 MB / 0.6476 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.231/0.2327, allocations: 1.2 MB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.2328, allocations: 4.5 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.963e-05/0.2329, allocations: 18.09 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.2342, allocations: 0.6255 MB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 2.854e-05/0.2342, allocations: 8.578 kB / 0.6495 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.2344, allocations: 165.7 kB / 0.6496 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.2345, allocations: 15.34 kB / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2346, allocations: 90.59 kB / 0.6497 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2348, allocations: 103.9 kB / 0.6498 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2348, allocations: 9.562 kB / 0.6498 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009258/0.2357, allocations: 0.8181 MB / 0.6506 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2358, allocations: 124.8 kB / 0.6507 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.2359, allocations: 59.12 kB / 0.6508 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008608/0.2368, allocations: 0.9536 MB / 0.6517 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2368, allocations: 2.516 kB / 0.6517 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2368, allocations: 0 / 0.6517 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2368, allocations: 0 / 0.6517 GB, free: 55.6 MB / 0.5573 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.0006197/0.2374, allocations: 0.6068 MB / 0.6523 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2374, allocations: 12.72 kB / 0.6523 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.2375, allocations: 80.94 kB / 0.6524 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.2376, allocations: 40.48 kB / 0.6524 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2378, allocations: 194.3 kB / 0.6526 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2378, allocations: 4.031 kB / 0.6526 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2378, allocations: 10.67 kB / 0.6526 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.2384, allocations: 0.6342 MB / 0.6533 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2384, allocations: 1.688 kB / 0.6533 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2384, allocations: 10.03 kB / 0.6533 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.2385, allocations: 134.5 kB / 0.6534 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.239, allocations: 0.5235 MB / 0.6539 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.2405, allocations: 0.9792 MB / 0.6549 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2407, allocations: 273.8 kB / 0.6551 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2409, allocations: 269.8 kB / 0.6554 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2409, allocations: 6.094 kB / 0.6554 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2409, allocations: 33.23 kB / 0.6554 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.2409, allocations: 0 / 0.6554 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.0008533/0.2418, allocations: 0.9338 MB / 0.6563 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2418, allocations: 83.39 kB / 0.6564 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.2421, allocations: 403.8 kB / 0.6568 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.2421, allocations: 26.36 kB / 0.6568 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.2422, allocations: 196.9 kB / 0.657 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.2422, allocations: 149.2 kB / 0.6572 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.2423, allocations: 51.94 kB / 0.6572 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.2423, allocations: 352.3 kB / 0.6575 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2425, allocations: 257.3 kB / 0.6578 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2427, allocations: 309.4 kB / 0.6581 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.2431, allocations: 0.6724 MB / 0.6587 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2431, allocations: 0 / 0.6587 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004763/0.2436, allocations: 0.7092 MB / 0.6594 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.2436, allocations: 43.06 kB / 0.6595 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2436, allocations: 3.062 kB / 0.6595 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2437, allocations: 1.312 kB / 0.6595 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.2437, allocations: 10.61 kB / 0.6595 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2437, allocations: 5.625 kB / 0.6595 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.2438, allocations: 39.34 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.2438, allocations: 16.31 kB / 0.6595 GB, free: 51.68 MB / 0.5573 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.0001263/0.2439, allocations: 223.2 kB / 0.6598 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.244, allocations: 43.06 kB / 0.6598 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.244, allocations: 29.44 kB / 0.6598 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.244, allocations: 27.94 kB / 0.6599 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.244, allocations: 0 / 0.6599 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.244, allocations: 2.422 kB / 0.6599 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.2447, allocations: 364.6 kB / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2447, allocations: 0 / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2448, allocations: 7.516 kB / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2448, allocations: 3.781 kB / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2448, allocations: 3.75 kB / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2448, allocations: 0 / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2448, allocations: 6.828 kB / 0.6602 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.2453, allocations: 0.7513 MB / 0.661 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.2453, allocations: 51.2 kB / 0.661 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2454, allocations: 3.766 kB / 0.661 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.2454, allocations: 2.062 kB / 0.661 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.2454, allocations: 11.94 kB / 0.661 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2454, allocations: 14.27 kB / 0.661 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001834/0.2456, allocations: 286.3 kB / 0.6613 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2456, allocations: 1.281 kB / 0.6613 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007758/0.2464, allocations: 251.8 kB / 0.6616 GB, free: 50.72 MB / 0.5573 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.0009275/0.2473, allocations: 1.457 MB / 0.663 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.2478, allocations: 0.6373 MB / 0.6636 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2478, allocations: 0 / 0.6636 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.248, allocations: 348.9 kB / 0.6639 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2483, allocations: 17.06 kB / 0.664 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.2516, allocations: 5.167 MB / 0.669 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2517, allocations: 238.1 kB / 0.6692 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.2518, allocations: 68.39 kB / 0.6693 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.2519, allocations: 121.2 kB / 0.6694 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/0.2519, allocations: 0 / 0.6694 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2752, allocations: 9.32 MB / 0.6785 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/7.017, allocations: 1.562 kB / 0.6785 GB, free: 45.52 MB / 0.5573 GB " [Timeout remaining time 653] (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: 60.588349647819996] Failed to read output from testmodel.py, exit status != 0: 7.10184602253139 7.111173175 6.872326079 Calling exit ...