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.001512/0.001512, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001673/0.001673, allocations: 196 kB / 17.31 MB, free: 5.613 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002309/0.002309, allocations: 271.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 99.8 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1616, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002225/0.1638, allocations: 1.316 MB / 0.6829 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1653, allocations: 1.088 MB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1654, allocations: 0 / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.788e-05/0.1654, allocations: 11.92 kB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.1664, allocations: 497.4 kB / 0.6844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.359e-05/0.1664, allocations: 3.984 kB / 0.6844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1666, allocations: 99.72 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1666, allocations: 8.172 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.1667, allocations: 39.83 kB / 0.6846 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.1668, allocations: 55.81 kB / 0.6846 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1668, allocations: 4 kB / 0.6846 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.1674, allocations: 0.5616 MB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.1676, allocations: 67.81 kB / 0.6853 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1676, allocations: 83.28 kB / 0.6853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1682, allocations: 0.5767 MB / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1682, allocations: 0 / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1682, allocations: 0 / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1682, allocations: 0 / 0.6859 GB, free: 3.031 MB / 494.1 MB 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.0005452/0.1688, allocations: 0.551 MB / 0.6864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1688, allocations: 12.03 kB / 0.6864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1689, allocations: 36.55 kB / 0.6865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1691, allocations: 235.8 kB / 0.6867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1691, allocations: 4.359 kB / 0.6867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1691, allocations: 8.125 kB / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1695, allocations: 308.9 kB / 0.687 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1695, allocations: 0 / 0.687 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1695, allocations: 4 kB / 0.687 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.505e-05/0.1696, allocations: 83.86 kB / 0.6871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1699, allocations: 248.4 kB / 0.6873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.171, allocations: 0.622 MB / 0.6879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1712, allocations: 186.7 kB / 0.6881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1714, allocations: 165.1 kB / 0.6883 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.1714, allocations: 0 / 0.6883 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1715, allocations: 30.56 kB / 0.6883 GB, free: 400 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.042e-06/0.1715, allocations: 0 / 0.6883 GB, free: 400 kB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.2632/0.4347, allocations: 0.5262 MB / 0.6888 GB, free: 18.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4348, allocations: 81.84 kB / 0.6889 GB, free: 18.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.4351, allocations: 295.2 kB / 0.6892 GB, free: 18.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4351, allocations: 27.3 kB / 0.6892 GB, free: 18.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.4352, allocations: 132.5 kB / 0.6893 GB, free: 18.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.4353, allocations: 115.7 kB / 0.6894 GB, free: 18.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.4353, allocations: 37.62 kB / 0.6895 GB, free: 18.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.4354, allocations: 340.6 kB / 0.6898 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4356, allocations: 136.4 kB / 0.6899 GB, free: 17.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4357, allocations: 134.2 kB / 0.6901 GB, free: 17.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.4362, allocations: 384.9 kB / 0.6904 GB, free: 17.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4362, allocations: 0.625 kB / 0.6904 GB, free: 17.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004515/0.4366, allocations: 387.4 kB / 0.6908 GB, free: 17.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4367, allocations: 32.88 kB / 0.6908 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4367, allocations: 1.406 kB / 0.6908 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4367, allocations: 3.75 kB / 0.6908 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.4367, allocations: 2.172 kB / 0.6908 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4368, allocations: 2.016 kB / 0.6908 GB, free: 17.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.4368, allocations: 23.34 kB / 0.6909 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.4368, allocations: 10.92 kB / 0.6909 GB, free: 17.53 MB / 494.1 MB 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.0001204/0.437, allocations: 186.8 kB / 0.691 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.437, allocations: 25.12 kB / 0.6911 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.4371, allocations: 24.78 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.4371, allocations: 41.53 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4371, allocations: 2 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4371, allocations: 1.188 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.4377, allocations: 293.2 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4378, allocations: 1.859 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.4378, allocations: 2.406 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4378, allocations: 0 / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4378, allocations: 9.516 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4378, allocations: 1.625 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4378, allocations: 0.875 kB / 0.6914 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.4384, allocations: 498.1 kB / 0.6919 GB, free: 16.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.4385, allocations: 105.8 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.4385, allocations: 5.562 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.4386, allocations: 4.75 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4386, allocations: 6.141 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.4386, allocations: 12.02 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.4389, allocations: 214.8 kB / 0.6922 GB, free: 16.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4389, allocations: 0 / 0.6922 GB, free: 16.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006789/0.4396, allocations: 171.7 kB / 0.6924 GB, free: 16.78 MB / 494.1 MB 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.0004924/0.4401, allocations: 210.8 kB / 0.6926 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.4407, allocations: 387.5 kB / 0.693 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4408, allocations: 0 / 0.693 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4411, allocations: 241.4 kB / 0.6932 GB, free: 16.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4413, allocations: 14.31 kB / 0.6932 GB, free: 16.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.4423, allocations: 0.5704 MB / 0.6938 GB, free: 16.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.4426, allocations: 0.7803 MB / 0.6945 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.689e-05/0.4427, allocations: 47.69 kB / 0.6946 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.4428, allocations: 19.78 kB / 0.6946 GB, free: 15.61 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4428, allocations: 1 kB / 0.6946 GB, free: 15.61 MB / 494.1 MB Notification: Performance of Templates: time 0.008775/0.4516, allocations: 3.597 MB / 0.6981 GB, free: 15.45 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)