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.001259/0.001259, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.0014/0.0014, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.002538/0.002538, allocations: 242 kB / 260 MB, free: 436 kB / 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 0.9453/0.9453, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") [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.005129/0.005129, allocations: 103.8 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4028, allocations: 95.34 MB / 0.7404 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002028/0.4048, allocations: 1.332 MB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4063, allocations: 1.015 MB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4063, allocations: 0.8125 kB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.4064, allocations: 12.5 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.4075, allocations: 0.4923 MB / 0.7432 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 1.4e-05/0.4075, allocations: 6.016 kB / 0.7432 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.4076, allocations: 99.03 kB / 0.7433 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.4077, allocations: 7.172 kB / 0.7433 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.4077, allocations: 42.39 kB / 0.7434 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.4078, allocations: 61.75 kB / 0.7434 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4079, allocations: 5.25 kB / 0.7434 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.4087, allocations: 0.6259 MB / 0.744 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.4088, allocations: 80.09 kB / 0.7441 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.4088, allocations: 59.62 kB / 0.7442 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.4095, allocations: 0.5952 MB / 0.7448 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4095, allocations: 1.25 kB / 0.7448 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4095, allocations: 4 kB / 0.7448 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4095, allocations: 3.938 kB / 0.7448 GB, free: 15.34 MB / 0.5919 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.0005196/0.4101, allocations: 0.4925 MB / 0.7453 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4101, allocations: 10.56 kB / 0.7453 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.4101, allocations: 23.81 kB / 0.7453 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.4103, allocations: 181.1 kB / 0.7455 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.4103, allocations: 11.06 kB / 0.7455 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.4104, allocations: 10.86 kB / 0.7455 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.4107, allocations: 333.2 kB / 0.7458 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4107, allocations: 0 / 0.7458 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4107, allocations: 5.188 kB / 0.7458 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.4108, allocations: 85.73 kB / 0.7459 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.4111, allocations: 279.5 kB / 0.7461 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4122, allocations: 0.5606 MB / 0.7467 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4124, allocations: 174.5 kB / 0.7469 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4126, allocations: 172.2 kB / 0.747 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.4126, allocations: 1.312 kB / 0.747 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.4126, allocations: 33.12 kB / 0.7471 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.4126, allocations: 0 / 0.7471 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0006631/0.4132, allocations: 0.5796 MB / 0.7476 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.4133, allocations: 83.25 kB / 0.7477 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.4134, allocations: 196.6 kB / 0.7479 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4134, allocations: 27.52 kB / 0.7479 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.4135, allocations: 143.8 kB / 0.7481 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-05/0.4135, allocations: 115.7 kB / 0.7482 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.4136, allocations: 35.92 kB / 0.7482 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.4136, allocations: 337.9 kB / 0.7485 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4138, allocations: 162.9 kB / 0.7487 GB, free: 13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4139, allocations: 158.9 kB / 0.7488 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.4143, allocations: 382 kB / 0.7492 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4143, allocations: 3.938 kB / 0.7492 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003951/0.4147, allocations: 409.6 kB / 0.7496 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4147, allocations: 37.09 kB / 0.7496 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4147, allocations: 0 / 0.7496 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4147, allocations: 1.438 kB / 0.7496 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.4148, allocations: 1.938 kB / 0.7496 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4148, allocations: 1.375 kB / 0.7496 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.4148, allocations: 22.31 kB / 0.7496 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.4148, allocations: 11.19 kB / 0.7497 GB, free: 12.62 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.0001101/0.4149, allocations: 186.4 kB / 0.7498 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.415, allocations: 14.25 kB / 0.7499 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.415, allocations: 21.09 kB / 0.7499 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/0.4151, allocations: 38.56 kB / 0.7499 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4151, allocations: 3.938 kB / 0.7499 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4151, allocations: 5.703 kB / 0.7499 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.4156, allocations: 246.8 kB / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4156, allocations: 0 / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.4156, allocations: 2.922 kB / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4156, allocations: 0 / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4156, allocations: 5.094 kB / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4156, allocations: 0 / 0.7502 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4156, allocations: 3.938 kB / 0.7502 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.4161, allocations: 0.5056 MB / 0.7507 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.4161, allocations: 25.05 kB / 0.7507 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.4161, allocations: 1.953 kB / 0.7507 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.4162, allocations: 1.125 kB / 0.7507 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.4162, allocations: 10.66 kB / 0.7507 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4162, allocations: 10.03 kB / 0.7507 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4163, allocations: 146.9 kB / 0.7508 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 1.469 kB / 0.7508 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005201/0.4169, allocations: 188.7 kB / 0.751 GB, free: 11.88 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.000381/0.4172, allocations: 208 kB / 0.7512 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.4177, allocations: 422.5 kB / 0.7516 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4177, allocations: 1.25 kB / 0.7516 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4179, allocations: 239.1 kB / 0.7519 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4181, allocations: 7.625 kB / 0.7519 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.4188, allocations: 0.5959 MB / 0.7524 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.419, allocations: 167.4 kB / 0.7526 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.14e-05/0.419, allocations: 33.69 kB / 0.7526 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4191, allocations: 21.39 kB / 0.7527 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4191, allocations: 5.062 kB / 0.7527 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.006351/0.4254, allocations: 3.271 MB / 0.7559 GB, free: 9.82 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 32.51635158096906] Failed to read output from testmodel.py, exit status != 0: 0.43525178800337017 0.443358303 0.03142549 Calling exit ...