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.0009262/0.0009262, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005942/0.005942, allocations: 170.2 kB / 16.26 MB, free: 6.68 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 274.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.9 MB / 0.5095 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 20.52 kB / 0.6099 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 90.73 MB / 0.6985 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001395/0.1564, allocations: 1.042 MB / 0.6995 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1583, allocations: 1.137 MB / 0.7006 GB, free: 460 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.1584, allocations: 7.938 kB / 0.7006 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.1585, allocations: 9.359 kB / 0.7007 GB, free: 444 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.1592, allocations: 299.8 kB / 0.7009 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.214e-05/0.1592, allocations: 4.656 kB / 0.7009 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1594, allocations: 131.7 kB / 0.7011 GB, free: 8 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1595, allocations: 8.922 kB / 0.7011 GB, free: 0 / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.1595, allocations: 35.97 kB / 0.7011 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1597, allocations: 60.53 kB / 0.7012 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1597, allocations: 8 kB / 0.7012 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.1605, allocations: 0.5127 MB / 0.7017 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.1606, allocations: 67.83 kB / 0.7017 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1607, allocations: 101 kB / 0.7018 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.1613, allocations: 0.5457 MB / 0.7024 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1614, allocations: 0 / 0.7024 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.377e-06/0.1614, allocations: 0.5938 kB / 0.7024 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1614, allocations: 3.938 kB / 0.7024 GB, free: 14.66 MB / 0.4981 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.0006387/0.162, allocations: 0.5423 MB / 0.7029 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1621, allocations: 12.03 kB / 0.7029 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.1621, allocations: 24.56 kB / 0.7029 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1624, allocations: 244.6 kB / 0.7032 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1624, allocations: 4.312 kB / 0.7032 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1624, allocations: 9.688 kB / 0.7032 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1629, allocations: 304.9 kB / 0.7035 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1629, allocations: 0 / 0.7035 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1629, allocations: 8.484 kB / 0.7035 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.163, allocations: 83.92 kB / 0.7036 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.1634, allocations: 253 kB / 0.7038 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1648, allocations: 0.625 MB / 0.7044 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.165, allocations: 174.8 kB / 0.7046 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1652, allocations: 173 kB / 0.7048 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1653, allocations: 1.312 kB / 0.7048 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1653, allocations: 38.48 kB / 0.7048 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.1653, allocations: 0.75 kB / 0.7048 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007814/0.1661, allocations: 0.5361 MB / 0.7053 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.1662, allocations: 81.75 kB / 0.7054 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.1665, allocations: 291.2 kB / 0.7057 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1665, allocations: 29.14 kB / 0.7057 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.1666, allocations: 128.8 kB / 0.7058 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.1667, allocations: 118.3 kB / 0.7059 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.1668, allocations: 21.72 kB / 0.706 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1669, allocations: 342.8 kB / 0.7063 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1671, allocations: 131.9 kB / 0.7064 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1673, allocations: 135.9 kB / 0.7065 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.1677, allocations: 378.3 kB / 0.7069 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1677, allocations: 0 / 0.7069 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004687/0.1682, allocations: 388.6 kB / 0.7073 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.1683, allocations: 29.7 kB / 0.7073 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1683, allocations: 0 / 0.7073 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1683, allocations: 4 kB / 0.7073 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.1683, allocations: 4 kB / 0.7073 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1683, allocations: 3.938 kB / 0.7073 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.1684, allocations: 19.69 kB / 0.7073 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.1684, allocations: 15.98 kB / 0.7073 GB, free: 9.332 MB / 0.4981 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.0001631/0.1686, allocations: 179.5 kB / 0.7075 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.1687, allocations: 19.72 kB / 0.7075 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.1687, allocations: 26.95 kB / 0.7076 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.479e-05/0.1688, allocations: 35.97 kB / 0.7076 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1688, allocations: 3.938 kB / 0.7076 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1688, allocations: 4 kB / 0.7076 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.1695, allocations: 301.2 kB / 0.7079 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1695, allocations: 0 / 0.7079 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.1695, allocations: 7.938 kB / 0.7079 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1695, allocations: 3.938 kB / 0.7079 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1695, allocations: 4 kB / 0.7079 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1696, allocations: 3.938 kB / 0.7079 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1696, allocations: 7.922 kB / 0.7079 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1701, allocations: 490.4 kB / 0.7084 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.1702, allocations: 112.7 kB / 0.7085 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1702, allocations: 0 / 0.7085 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.1703, allocations: 4 kB / 0.7085 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1704, allocations: 11.92 kB / 0.7085 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1704, allocations: 12 kB / 0.7085 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002232/0.1706, allocations: 213.9 kB / 0.7087 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1706, allocations: 0 / 0.7087 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005062/0.1711, allocations: 171.9 kB / 0.7089 GB, free: 7.648 MB / 0.4981 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.000438/0.1716, allocations: 207.2 kB / 0.7091 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.1721, allocations: 391.1 kB / 0.7095 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1721, allocations: 0 / 0.7095 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.1724, allocations: 239.3 kB / 0.7097 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1726, allocations: 8.562 kB / 0.7097 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.1735, allocations: 0.658 MB / 0.7103 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1739, allocations: 0.7783 MB / 0.7111 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.1741, allocations: 41.08 kB / 0.7111 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1741, allocations: 23.42 kB / 0.7112 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1741, allocations: 3.938 kB / 0.7112 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.007741/0.1819, allocations: 3.515 MB / 0.7146 GB, free: 1.727 MB / 0.4981 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)