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.001366/0.001366, allocations: 120 kB / 17.17 MB, free: 5.977 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.001555/0.001555, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002838/0.002838, allocations: 286.9 kB / 309.8 MB, free: 3.426 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.076/1.076, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",fmuType="cs",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.003255/0.003255, allocations: 95.84 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5836, allocations: 95.34 MB / 0.8278 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.00261/0.5862, allocations: 1.42 MB / 0.8292 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.5882, allocations: 1.347 MB / 0.8305 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5883, allocations: 0 / 0.8305 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.5885, allocations: 18.69 kB / 0.8305 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.5904, allocations: 0.6033 MB / 0.8311 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.216e-05/0.5905, allocations: 6.375 kB / 0.8311 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.5908, allocations: 158.7 kB / 0.8312 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.5909, allocations: 12.23 kB / 0.8313 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.591, allocations: 68.19 kB / 0.8313 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.5912, allocations: 114.4 kB / 0.8314 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.5912, allocations: 9.812 kB / 0.8314 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.5927, allocations: 0.7361 MB / 0.8322 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.5929, allocations: 118.2 kB / 0.8323 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.593, allocations: 120.6 kB / 0.8324 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.5944, allocations: 0.8143 MB / 0.8332 GB, free: 208 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5944, allocations: 0.75 kB / 0.8332 GB, free: 208 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5944, allocations: 0 / 0.8332 GB, free: 208 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.5944, allocations: 0 / 0.8332 GB, free: 208 kB / 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.001106/0.5955, allocations: 0.6923 MB / 0.8339 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5955, allocations: 9.594 kB / 0.8339 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.714e-05/0.5956, allocations: 6.5 kB / 0.8339 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/0.5957, allocations: 75.59 kB / 0.8339 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.5957, allocations: 40.39 kB / 0.834 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.5961, allocations: 258.9 kB / 0.8342 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5961, allocations: 7.047 kB / 0.8342 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.5961, allocations: 8.781 kB / 0.8342 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.5969, allocations: 0.5967 MB / 0.8348 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5969, allocations: 4 kB / 0.8348 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.5969, allocations: 15.58 kB / 0.8348 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.5971, allocations: 133.5 kB / 0.835 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.5977, allocations: 0.492 MB / 0.8355 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.6001, allocations: 0.9917 MB / 0.8364 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.6005, allocations: 238.3 kB / 0.8367 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.6007, allocations: 233.2 kB / 0.8369 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.6007, allocations: 7.938 kB / 0.8369 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6008, allocations: 35.62 kB / 0.8369 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.6008, allocations: 0 / 0.8369 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001237/0.602, allocations: 0.865 MB / 0.8378 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.6021, allocations: 82.95 kB / 0.8378 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.6026, allocations: 390.9 kB / 0.8382 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.6026, allocations: 27.44 kB / 0.8382 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.6028, allocations: 202.4 kB / 0.8384 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6029, allocations: 154.3 kB / 0.8386 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.603, allocations: 47.92 kB / 0.8386 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6032, allocations: 353.6 kB / 0.839 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.6034, allocations: 224.8 kB / 0.8392 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.6038, allocations: 282.3 kB / 0.8394 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.6045, allocations: 0.6639 MB / 0.8401 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6045, allocations: 0 / 0.8401 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001075/0.6056, allocations: 0.6802 MB / 0.8408 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.6057, allocations: 42.33 kB / 0.8408 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6057, allocations: 6.344 kB / 0.8408 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.6057, allocations: 1.531 kB / 0.8408 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.6058, allocations: 8.453 kB / 0.8408 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6058, allocations: 2.406 kB / 0.8408 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.6059, allocations: 39.09 kB / 0.8409 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.606, allocations: 16.91 kB / 0.8409 GB, free: 12.29 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.0003276/0.6063, allocations: 225.4 kB / 0.8411 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.6064, allocations: 43.47 kB / 0.8411 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.6065, allocations: 33.84 kB / 0.8412 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.6066, allocations: 31.44 kB / 0.8412 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6066, allocations: 0 / 0.8412 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6066, allocations: 0 / 0.8412 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.6078, allocations: 380.5 kB / 0.8415 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6078, allocations: 3.938 kB / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.6079, allocations: 3.016 kB / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6079, allocations: 0 / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6079, allocations: 6.125 kB / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.6079, allocations: 0 / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6079, allocations: 1.75 kB / 0.8416 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.6088, allocations: 0.7193 MB / 0.8423 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.609, allocations: 124.9 kB / 0.8424 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.609, allocations: 3.391 kB / 0.8424 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.6091, allocations: 2.281 kB / 0.8424 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.6091, allocations: 5.844 kB / 0.8424 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.6092, allocations: 15.23 kB / 0.8424 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000389/0.6096, allocations: 286.7 kB / 0.8427 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6096, allocations: 3.938 kB / 0.8427 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001165/0.6107, allocations: 253.9 kB / 0.8429 GB, free: 11.23 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.002319/0.6131, allocations: 1.397 MB / 0.8443 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.6141, allocations: 0.5669 MB / 0.8448 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6141, allocations: 4.25 kB / 0.8449 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.6145, allocations: 316 kB / 0.8452 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.6149, allocations: 21.44 kB / 0.8452 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.6223, allocations: 4.968 MB / 0.85 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.6228, allocations: 0.8373 MB / 0.8508 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.623, allocations: 65.77 kB / 0.8509 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6232, allocations: 117.8 kB / 0.851 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of SimCode: time 1.342e-06/0.6232, allocations: 0 / 0.851 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.6546, allocations: 8.72 MB / 0.8595 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.941/9.596, allocations: 9.219 kB / 0.8595 GB, free: 3.648 MB / 0.5919 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 & /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: 63.631303097005] Failed to read output from testmodel.py, exit status != 0: 9.732374591985717 9.761653253 9.161940429 Calling exit ...