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.001068/0.001068, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008442/0.008443, allocations: 168.5 kB / 16.26 MB, free: 6.648 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 282.6 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 17.42 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001159/0.1471, allocations: 1.049 MB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1487, allocations: 1.135 MB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1487, allocations: 2.031 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.1488, allocations: 11.92 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.1494, allocations: 299.8 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.262e-05/0.1495, allocations: 3.984 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1496, allocations: 134.1 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1497, allocations: 8.172 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.1497, allocations: 39.84 kB / 0.6877 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1498, allocations: 59.8 kB / 0.6878 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1499, allocations: 11.94 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.1505, allocations: 0.4992 MB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.1506, allocations: 72.31 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.1507, allocations: 97 kB / 0.6885 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.1512, allocations: 0.5464 MB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1512, allocations: 1.219 kB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1513, allocations: 0 / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1513, allocations: 0 / 0.689 GB, free: 11.08 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.0005212/0.1518, allocations: 0.5407 MB / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1518, allocations: 12.03 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1519, allocations: 28.5 kB / 0.6896 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1521, allocations: 236.6 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1521, allocations: 384 / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1521, allocations: 14.92 kB / 0.6898 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1525, allocations: 312.9 kB / 0.6901 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1525, allocations: 7.938 kB / 0.6901 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1525, allocations: 0 / 0.6901 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.1526, allocations: 79.92 kB / 0.6902 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.1529, allocations: 244.4 kB / 0.6904 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1542, allocations: 0.6275 MB / 0.691 GB, free: 8.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1544, allocations: 176.5 kB / 0.6912 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1545, allocations: 169.1 kB / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.1546, allocations: 0 / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1546, allocations: 39.2 kB / 0.6914 GB, free: 8.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.092e-06/0.1546, allocations: 4.812 kB / 0.6914 GB, free: 8.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006448/0.1552, allocations: 0.5289 MB / 0.6919 GB, free: 7.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1553, allocations: 77.73 kB / 0.692 GB, free: 7.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.1556, allocations: 295.9 kB / 0.6923 GB, free: 7.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1556, allocations: 25.7 kB / 0.6923 GB, free: 7.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1557, allocations: 132.7 kB / 0.6924 GB, free: 7.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.1558, allocations: 114.9 kB / 0.6925 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.1558, allocations: 25.7 kB / 0.6926 GB, free: 7.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1559, allocations: 346.8 kB / 0.6929 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1561, allocations: 127.9 kB / 0.693 GB, free: 6.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1562, allocations: 136.8 kB / 0.6931 GB, free: 6.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1566, allocations: 380.6 kB / 0.6935 GB, free: 6.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1566, allocations: 0 / 0.6935 GB, free: 6.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003838/0.157, allocations: 379.2 kB / 0.6939 GB, free: 5.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.157, allocations: 33.7 kB / 0.6939 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.157, allocations: 4 kB / 0.6939 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.157, allocations: 3.984 kB / 0.6939 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.1571, allocations: 4 kB / 0.6939 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1571, allocations: 3.938 kB / 0.6939 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1571, allocations: 23.59 kB / 0.6939 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1572, allocations: 12 kB / 0.6939 GB, free: 5.75 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.0001314/0.1573, allocations: 176.8 kB / 0.6941 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.1573, allocations: 19.72 kB / 0.6941 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.1574, allocations: 26.95 kB / 0.6942 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.555e-05/0.1574, allocations: 35.97 kB / 0.6942 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1575, allocations: 7.875 kB / 0.6942 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1575, allocations: 4 kB / 0.6942 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.1581, allocations: 301.4 kB / 0.6945 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1581, allocations: 3.938 kB / 0.6945 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.1581, allocations: 7.984 kB / 0.6945 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1581, allocations: 7.922 kB / 0.6945 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1582, allocations: 4 kB / 0.6945 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1582, allocations: 0 / 0.6945 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1582, allocations: 3.938 kB / 0.6945 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.1586, allocations: 494.4 kB / 0.695 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.1587, allocations: 112.6 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1587, allocations: 0 / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.1588, allocations: 8 kB / 0.6951 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.1588, allocations: 11.92 kB / 0.6951 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1588, allocations: 8 kB / 0.6951 GB, free: 4.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.159, allocations: 213.9 kB / 0.6953 GB, free: 4.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 0.6953 GB, free: 4.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.1595, allocations: 172 kB / 0.6955 GB, free: 4.055 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.0003824/0.1599, allocations: 219.1 kB / 0.6957 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.1603, allocations: 379.2 kB / 0.6961 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1603, allocations: 0 / 0.6961 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.1605, allocations: 239.3 kB / 0.6963 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1607, allocations: 9.312 kB / 0.6963 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.1615, allocations: 0.6657 MB / 0.6969 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1618, allocations: 0.7715 MB / 0.6977 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.674e-05/0.1619, allocations: 45.06 kB / 0.6977 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.162, allocations: 19.44 kB / 0.6978 GB, free: 1.648 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.162, allocations: 0 / 0.6978 GB, free: 1.648 MB / 494.1 MB Notification: Performance of Templates: time 0.006172/0.1681, allocations: 3.521 MB / 0.7012 GB, free: 14.13 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)