Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.00131/0.00131, allocations: 116.1 kB / 17.17 MB, free: 6 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.001509/0.001509, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002386/0.002386, allocations: 284 kB / 309.8 MB, free: 3.441 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.063/1.063, allocations: 180.6 MB / 0.5338 GB, free: 12.39 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.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.00293/0.00293, allocations: 96.38 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5747, allocations: 95.35 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.003889/0.5786, allocations: 1.342 MB / 0.8291 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.5811, allocations: 1.129 MB / 0.8302 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.5812, allocations: 7.938 kB / 0.8302 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.5813, allocations: 12.84 kB / 0.8302 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.5832, allocations: 488.9 kB / 0.8307 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.632e-05/0.5832, allocations: 8.156 kB / 0.8307 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.5835, allocations: 95.67 kB / 0.8308 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.5835, allocations: 7.172 kB / 0.8308 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.5836, allocations: 51.39 kB / 0.8308 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.5838, allocations: 52.41 kB / 0.8309 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.5838, allocations: 9.312 kB / 0.8309 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.5851, allocations: 0.581 MB / 0.8315 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.5853, allocations: 79.69 kB / 0.8315 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.5853, allocations: 68.7 kB / 0.8316 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.5861, allocations: 0.5781 MB / 0.8322 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5861, allocations: 3.906 kB / 0.8322 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5861, allocations: 0 / 0.8322 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5861, allocations: 0 / 0.8322 GB, free: 0.75 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006052/0.5868, allocations: 0.5692 MB / 0.8327 GB, free: 224 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5868, allocations: 9.625 kB / 0.8327 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.832e-05/0.5868, allocations: 6.812 kB / 0.8327 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.5869, allocations: 55.64 kB / 0.8328 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.5869, allocations: 22.44 kB / 0.8328 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5872, allocations: 241.4 kB / 0.833 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5872, allocations: 8.344 kB / 0.833 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.5872, allocations: 4.281 kB / 0.8331 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.5876, allocations: 308.2 kB / 0.8333 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.5876, allocations: 0.75 kB / 0.8333 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5876, allocations: 3.984 kB / 0.8333 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.5878, allocations: 90.97 kB / 0.8334 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.5881, allocations: 247.4 kB / 0.8337 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.5895, allocations: 0.631 MB / 0.8343 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.5898, allocations: 152.4 kB / 0.8344 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5899, allocations: 140.4 kB / 0.8346 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.59, allocations: 0 / 0.8346 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.59, allocations: 41.92 kB / 0.8346 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.59, allocations: 0 / 0.8346 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0008995/0.5909, allocations: 0.5293 MB / 0.8351 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.591, allocations: 91.44 kB / 0.8352 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.5913, allocations: 289.5 kB / 0.8355 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5913, allocations: 25.7 kB / 0.8355 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.5914, allocations: 133.4 kB / 0.8356 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5915, allocations: 119.2 kB / 0.8358 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.5916, allocations: 40.22 kB / 0.8358 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5918, allocations: 342.2 kB / 0.8361 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.5919, allocations: 132.2 kB / 0.8362 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.5921, allocations: 131.8 kB / 0.8364 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.5925, allocations: 375.6 kB / 0.8367 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5925, allocations: 0 / 0.8367 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004525/0.593, allocations: 391.9 kB / 0.8371 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.593, allocations: 33.61 kB / 0.8371 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.593, allocations: 3.938 kB / 0.8371 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.593, allocations: 4.141 kB / 0.8371 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.5931, allocations: 8.875 kB / 0.8371 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.5931, allocations: 0 / 0.8371 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.5932, allocations: 31.89 kB / 0.8372 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.5932, allocations: 10.62 kB / 0.8372 GB, free: 13.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * 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.0002393/0.5934, allocations: 179.1 kB / 0.8374 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.5935, allocations: 25.11 kB / 0.8374 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.5935, allocations: 23.58 kB / 0.8374 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-05/0.5936, allocations: 42.97 kB / 0.8374 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5936, allocations: 4 kB / 0.8375 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5936, allocations: 0.6562 kB / 0.8375 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.5943, allocations: 302.5 kB / 0.8377 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5943, allocations: 0 / 0.8377 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.5943, allocations: 0 / 0.8377 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5943, allocations: 0.6562 kB / 0.8377 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5943, allocations: 5.766 kB / 0.8377 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5944, allocations: 3.938 kB / 0.8378 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5944, allocations: 0.7031 kB / 0.8378 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.5949, allocations: 496 kB / 0.8382 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.595, allocations: 109.4 kB / 0.8383 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.595, allocations: 2.219 kB / 0.8383 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.5951, allocations: 5 kB / 0.8383 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.5951, allocations: 9.359 kB / 0.8383 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.5952, allocations: 10.08 kB / 0.8384 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000304/0.5955, allocations: 214.7 kB / 0.8386 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5955, allocations: 3.938 kB / 0.8386 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007624/0.5962, allocations: 169.4 kB / 0.8387 GB, free: 13.08 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.00133/0.5976, allocations: 1.14 MB / 0.8398 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.5981, allocations: 364.9 kB / 0.8402 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5981, allocations: 1.281 kB / 0.8402 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.5983, allocations: 208.6 kB / 0.8404 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5986, allocations: 21.34 kB / 0.8404 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.6037, allocations: 3.633 MB / 0.844 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6042, allocations: 0.7757 MB / 0.8447 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.6043, allocations: 43.36 kB / 0.8448 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.6044, allocations: 74.23 kB / 0.8448 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.6044, allocations: 0 / 0.8448 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.6397, allocations: 6.598 MB / 0.8513 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/9.229, allocations: 9.625 kB / 0.8513 GB, free: 8.082 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 63.19927089300472] Failed to read output from testmodel.py, exit status != 0: 9.363224964996334 9.38911502 8.798451524 Calling exit ...