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.001382/0.001382, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001313/0.001313, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 290.2 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.507 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002754, allocations: 96.42 kB / 0.6059 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1537, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002449/0.1562, allocations: 1.374 MB / 0.6943 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1579, allocations: 1.11 MB / 0.6954 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.158, allocations: 0 / 0.6954 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.986e-05/0.1581, allocations: 7.922 kB / 0.6954 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.1591, allocations: 437.9 kB / 0.6958 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.614e-05/0.1592, allocations: 8.641 kB / 0.6958 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1593, allocations: 91.78 kB / 0.6959 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1593, allocations: 9.328 kB / 0.6959 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.1594, allocations: 55.75 kB / 0.696 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1596, allocations: 59.8 kB / 0.696 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1596, allocations: 4.562 kB / 0.6961 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.1604, allocations: 0.5577 MB / 0.6966 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.1605, allocations: 71.81 kB / 0.6967 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.1606, allocations: 79.28 kB / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.1613, allocations: 0.5731 MB / 0.6973 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1613, allocations: 0 / 0.6973 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1613, allocations: 0 / 0.6973 GB, free: 292 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1613, allocations: 0 / 0.6973 GB, free: 292 kB / 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.0007063/0.162, allocations: 0.5587 MB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1621, allocations: 12.03 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1621, allocations: 20.66 kB / 0.6979 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1624, allocations: 239.8 kB / 0.6981 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1624, allocations: 384 / 0.6981 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1625, allocations: 8.125 kB / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.1629, allocations: 304.9 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1629, allocations: 4 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1629, allocations: 11.92 kB / 0.6984 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.1631, allocations: 79.92 kB / 0.6985 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.1634, allocations: 252.4 kB / 0.6987 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1647, allocations: 0.6219 MB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.165, allocations: 178.7 kB / 0.6995 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1653, allocations: 169.1 kB / 0.6997 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1653, allocations: 0 / 0.6997 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1653, allocations: 30.56 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.362e-06/0.1653, allocations: 4 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.000796/0.1661, allocations: 0.5438 MB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1662, allocations: 81.09 kB / 0.7003 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.1665, allocations: 290.5 kB / 0.7006 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1666, allocations: 25.7 kB / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1667, allocations: 132.8 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1668, allocations: 114.3 kB / 0.7009 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.1668, allocations: 33.7 kB / 0.7009 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.167, allocations: 346.8 kB / 0.7012 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1672, allocations: 131.9 kB / 0.7013 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1674, allocations: 135.9 kB / 0.7015 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.1678, allocations: 381.5 kB / 0.7018 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1678, allocations: 0 / 0.7018 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005379/0.1684, allocations: 387.1 kB / 0.7022 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.1684, allocations: 37.69 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1684, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1684, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.1685, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1685, allocations: 7.938 kB / 0.7022 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.1686, allocations: 23.69 kB / 0.7023 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1686, allocations: 8 kB / 0.7023 GB, free: 10.92 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.0001627/0.1688, allocations: 179.5 kB / 0.7024 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1688, allocations: 27.62 kB / 0.7025 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.1689, allocations: 18.97 kB / 0.7025 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.099e-05/0.1689, allocations: 35.97 kB / 0.7025 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.169, allocations: 7.922 kB / 0.7025 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.169, allocations: 7.938 kB / 0.7025 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.1696, allocations: 297.3 kB / 0.7028 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1697, allocations: 0 / 0.7028 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.1697, allocations: 4 kB / 0.7028 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1697, allocations: 0 / 0.7028 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1697, allocations: 4 kB / 0.7028 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1697, allocations: 0 / 0.7028 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.1697, allocations: 3.938 kB / 0.7028 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.1703, allocations: 0.4943 MB / 0.7033 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1704, allocations: 104.8 kB / 0.7034 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1704, allocations: 3.984 kB / 0.7034 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1705, allocations: 4 kB / 0.7034 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1705, allocations: 7.938 kB / 0.7034 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1705, allocations: 8.188 kB / 0.7034 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002266/0.1708, allocations: 213.9 kB / 0.7036 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1708, allocations: 0 / 0.7036 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005267/0.1713, allocations: 175.9 kB / 0.7038 GB, free: 9.234 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.0005057/0.1718, allocations: 219.2 kB / 0.704 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005184/0.1724, allocations: 403.1 kB / 0.7044 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1724, allocations: 0 / 0.7044 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.1726, allocations: 239.3 kB / 0.7046 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1729, allocations: 13.5 kB / 0.7047 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.1738, allocations: 0.6565 MB / 0.7053 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.1743, allocations: 0.7715 MB / 0.706 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.284e-05/0.1744, allocations: 41.08 kB / 0.7061 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.1744, allocations: 27.42 kB / 0.7061 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1744, allocations: 0 / 0.7061 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.007395/0.1818, allocations: 3.623 MB / 0.7096 GB, free: 3.18 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)