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.001012/0.001012, allocations: 112.6 kB / 16.37 MB, free: 6 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.00103/0.00103, 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 279.3 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 96.8 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1401, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002113/0.1422, allocations: 1.313 MB / 0.6829 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1437, allocations: 1.088 MB / 0.684 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1437, allocations: 0 / 0.684 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.306e-05/0.1438, allocations: 11.92 kB / 0.684 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009589/0.1448, allocations: 497.3 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.233e-05/0.1448, allocations: 11.98 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1449, allocations: 95.72 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.145, allocations: 4.172 kB / 0.6845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.145, allocations: 47.83 kB / 0.6846 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.1451, allocations: 55.81 kB / 0.6846 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1452, allocations: 4 kB / 0.6846 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.1458, allocations: 0.5538 MB / 0.6852 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1459, allocations: 75.75 kB / 0.6853 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.146, allocations: 71.36 kB / 0.6853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.1466, allocations: 0.5883 MB / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1466, allocations: 0 / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1466, allocations: 0 / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1466, allocations: 0 / 0.6859 GB, free: 3.047 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.0005364/0.1471, allocations: 0.551 MB / 0.6864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1472, allocations: 12.03 kB / 0.6865 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1472, allocations: 24.56 kB / 0.6865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1474, allocations: 235.7 kB / 0.6867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1475, allocations: 8.375 kB / 0.6867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1475, allocations: 8.125 kB / 0.6867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1478, allocations: 312.9 kB / 0.687 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1478, allocations: 0 / 0.687 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1478, allocations: 3.984 kB / 0.687 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1479, allocations: 91.86 kB / 0.6871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.1482, allocations: 244.4 kB / 0.6873 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1494, allocations: 0.622 MB / 0.6879 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1496, allocations: 178.7 kB / 0.6881 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1498, allocations: 169.1 kB / 0.6883 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.1498, allocations: 4 kB / 0.6883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1498, allocations: 34.56 kB / 0.6883 GB, free: 412 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.1498, allocations: 0 / 0.6883 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.228/0.3779, allocations: 0.5238 MB / 0.6888 GB, free: 18.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.378, allocations: 81.34 kB / 0.6889 GB, free: 18.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3783, allocations: 290.9 kB / 0.6892 GB, free: 18.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3783, allocations: 26.81 kB / 0.6892 GB, free: 18.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3784, allocations: 131.5 kB / 0.6893 GB, free: 18.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.3784, allocations: 114.8 kB / 0.6894 GB, free: 18.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.3785, allocations: 35.98 kB / 0.6895 GB, free: 18.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.3786, allocations: 343.2 kB / 0.6898 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3787, allocations: 137 kB / 0.6899 GB, free: 17.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3789, allocations: 130.6 kB / 0.6901 GB, free: 17.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.3792, allocations: 383 kB / 0.6904 GB, free: 17.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3792, allocations: 0 / 0.6904 GB, free: 17.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004211/0.3797, allocations: 385.5 kB / 0.6908 GB, free: 17.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3797, allocations: 35.25 kB / 0.6908 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3797, allocations: 0 / 0.6908 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3797, allocations: 6.219 kB / 0.6908 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.3798, allocations: 5.688 kB / 0.6908 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3798, allocations: 1.625 kB / 0.6908 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3799, allocations: 26.58 kB / 0.6909 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3799, allocations: 10.14 kB / 0.6909 GB, free: 17.51 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.0001117/0.38, allocations: 181 kB / 0.691 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3801, allocations: 25.8 kB / 0.6911 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3801, allocations: 31.08 kB / 0.6911 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/0.3802, allocations: 38.66 kB / 0.6911 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3802, allocations: 0.5625 kB / 0.6911 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3802, allocations: 0.7812 kB / 0.6911 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.3808, allocations: 295.9 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3808, allocations: 1.5 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.3808, allocations: 2.391 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3808, allocations: 0 / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3808, allocations: 8.719 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3808, allocations: 1.125 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3808, allocations: 0.75 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.3813, allocations: 497.4 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3813, allocations: 106.9 kB / 0.692 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3814, allocations: 7.359 kB / 0.692 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.3814, allocations: 0 / 0.692 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3815, allocations: 10.61 kB / 0.692 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3815, allocations: 10.22 kB / 0.692 GB, free: 16.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3817, allocations: 216.7 kB / 0.6922 GB, free: 16.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3817, allocations: 1.281 kB / 0.6922 GB, free: 16.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005005/0.3822, allocations: 173.5 kB / 0.6924 GB, free: 16.75 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.0003663/0.3826, allocations: 205.4 kB / 0.6926 GB, free: 16.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.383, allocations: 383.4 kB / 0.693 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.383, allocations: 0.9375 kB / 0.693 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3832, allocations: 241 kB / 0.6932 GB, free: 16.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3835, allocations: 18.34 kB / 0.6932 GB, free: 16.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.3842, allocations: 0.5713 MB / 0.6938 GB, free: 16.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.3844, allocations: 0.7802 MB / 0.6945 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.215e-05/0.3845, allocations: 44.12 kB / 0.6946 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.3846, allocations: 20.34 kB / 0.6946 GB, free: 15.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3846, allocations: 0 / 0.6946 GB, free: 15.59 MB / 494.1 MB Notification: Performance of Templates: time 0.007305/0.3919, allocations: 3.593 MB / 0.6981 GB, free: 15.44 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)