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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005198/0.005202, allocations: 99.12 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 199.6 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 275 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9484/0.9484, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 92.22 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1578, allocations: 86.98 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002034/0.1599, allocations: 1.328 MB / 0.7677 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1614, allocations: 1.08 MB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.1614, allocations: 0 / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.1615, allocations: 11.92 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009701/0.1625, allocations: 493.4 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.408e-05/0.1625, allocations: 7.922 kB / 0.7692 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1627, allocations: 99.72 kB / 0.7693 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1627, allocations: 8.172 kB / 0.7693 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.1628, allocations: 35.84 kB / 0.7694 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.1629, allocations: 67.8 kB / 0.7694 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1629, allocations: 4 kB / 0.7694 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.1636, allocations: 0.5538 MB / 0.77 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.1637, allocations: 71.8 kB / 0.77 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.1637, allocations: 71.36 kB / 0.7701 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.1643, allocations: 0.5802 MB / 0.7707 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1643, allocations: 0 / 0.7707 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1643, allocations: 3.938 kB / 0.7707 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1643, allocations: 0 / 0.7707 GB, free: 4.062 MB / 0.5606 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.0005716/0.1649, allocations: 0.5695 MB / 0.7712 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.165, allocations: 16.03 kB / 0.7712 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.1651, allocations: 24.75 kB / 0.7713 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1653, allocations: 235.9 kB / 0.7715 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1653, allocations: 384 / 0.7715 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1653, allocations: 12.11 kB / 0.7715 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1657, allocations: 316.8 kB / 0.7718 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1657, allocations: 0 / 0.7718 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1657, allocations: 4 kB / 0.7718 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1659, allocations: 79.92 kB / 0.7719 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.1661, allocations: 248.4 kB / 0.7721 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.1674, allocations: 0.63 MB / 0.7727 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1676, allocations: 183.3 kB / 0.7729 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1678, allocations: 165.1 kB / 0.7731 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.1679, allocations: 0 / 0.7731 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1679, allocations: 34.5 kB / 0.7731 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/0.1679, allocations: 4 kB / 0.7731 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.000729/0.1686, allocations: 0.5323 MB / 0.7736 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1687, allocations: 85.09 kB / 0.7737 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.169, allocations: 286.5 kB / 0.774 GB, free: 476 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.169, allocations: 29.7 kB / 0.774 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.1691, allocations: 132.7 kB / 0.7741 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.1692, allocations: 122.9 kB / 0.7742 GB, free: 180 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.1692, allocations: 33.7 kB / 0.7743 GB, free: 140 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.3048/0.474, allocations: 339.5 kB / 0.7746 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.4742, allocations: 133.1 kB / 0.7747 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.4744, allocations: 135.5 kB / 0.7749 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.4748, allocations: 382 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4749, allocations: 2.281 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004461/0.4753, allocations: 382.4 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4753, allocations: 36.5 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4754, allocations: 0 / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4754, allocations: 1.031 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.4754, allocations: 1.703 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4754, allocations: 9.203 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.4755, allocations: 21.75 kB / 0.7757 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.4755, allocations: 10.3 kB / 0.7757 GB, free: 14.64 MB / 0.5606 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.0001205/0.4757, allocations: 183.3 kB / 0.7758 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4757, allocations: 28.8 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.4757, allocations: 22.09 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/0.4758, allocations: 39.88 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4758, allocations: 4.453 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4758, allocations: 2.062 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.4764, allocations: 295.7 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4765, allocations: 0 / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.4765, allocations: 2.625 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4765, allocations: 1.406 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4765, allocations: 4.562 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4765, allocations: 6.562 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4765, allocations: 2.016 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.477, allocations: 492.5 kB / 0.7767 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.477, allocations: 116.3 kB / 0.7768 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.4771, allocations: 1.438 kB / 0.7768 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.4771, allocations: 8.484 kB / 0.7768 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.4772, allocations: 6.922 kB / 0.7768 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4772, allocations: 10.53 kB / 0.7768 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001759/0.4774, allocations: 217.6 kB / 0.777 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4774, allocations: 0.75 kB / 0.777 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004824/0.4779, allocations: 170.2 kB / 0.7772 GB, free: 13.91 MB / 0.5606 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.0003784/0.4782, allocations: 211 kB / 0.7774 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.4787, allocations: 386.7 kB / 0.7778 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4787, allocations: 2.125 kB / 0.7778 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4789, allocations: 234.8 kB / 0.778 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4792, allocations: 16.75 kB / 0.778 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.4799, allocations: 0.5849 MB / 0.7786 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4802, allocations: 0.7766 MB / 0.7794 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.4803, allocations: 50.09 kB / 0.7794 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.4803, allocations: 20.52 kB / 0.7794 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4803, allocations: 0 / 0.7794 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.006926/0.4873, allocations: 3.652 MB / 0.783 GB, free: 12.63 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)