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.0044/0.0044, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001043/0.001043, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.305/1.305, allocations: 222.9 MB / 240.3 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 282.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 99.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.00212/0.1521, allocations: 1.317 MB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1537, allocations: 1.077 MB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1538, allocations: 4 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.1539, allocations: 11.92 kB / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009814/0.1548, allocations: 493.4 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.375e-05/0.1549, allocations: 0 / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.155, allocations: 107.6 kB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.1551, allocations: 4.188 kB / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.1551, allocations: 39.91 kB / 0.7694 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1552, allocations: 59.73 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1553, allocations: 8 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006795/0.1559, allocations: 0.5499 MB / 0.77 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.156, allocations: 83.75 kB / 0.77 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.1561, allocations: 67.36 kB / 0.7701 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1567, allocations: 0.5767 MB / 0.7707 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1567, allocations: 0 / 0.7707 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1567, allocations: 4 kB / 0.7707 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.1567, allocations: 0 / 0.7707 GB, free: 4.039 MB / 0.5606 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.0005827/0.1573, allocations: 0.5626 MB / 0.7712 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1574, allocations: 8.031 kB / 0.7712 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1574, allocations: 24.56 kB / 0.7712 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1576, allocations: 235.9 kB / 0.7715 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1577, allocations: 12.38 kB / 0.7715 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1577, allocations: 8.109 kB / 0.7715 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.158, allocations: 312.8 kB / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.158, allocations: 0 / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1581, allocations: 0 / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.1582, allocations: 87.92 kB / 0.7719 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.1584, allocations: 248.4 kB / 0.7721 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1598, allocations: 0.6219 MB / 0.7727 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.16, allocations: 179.3 kB / 0.7729 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1602, allocations: 169.1 kB / 0.773 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1602, allocations: 3.938 kB / 0.7731 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1603, allocations: 34.55 kB / 0.7731 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.1603, allocations: 4 kB / 0.7731 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006743/0.1609, allocations: 0.5245 MB / 0.7736 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.161, allocations: 81.11 kB / 0.7737 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1613, allocations: 294.5 kB / 0.774 GB, free: 468 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1613, allocations: 25.7 kB / 0.774 GB, free: 436 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1614, allocations: 136.6 kB / 0.7741 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.1615, allocations: 114.3 kB / 0.7742 GB, free: 180 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1615, allocations: 33.7 kB / 0.7743 GB, free: 140 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.299/0.4605, allocations: 342.8 kB / 0.7746 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.4607, allocations: 128.7 kB / 0.7747 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4609, allocations: 141.2 kB / 0.7748 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.4613, allocations: 381.6 kB / 0.7752 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4613, allocations: 0.5156 kB / 0.7752 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004397/0.4618, allocations: 380 kB / 0.7756 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4618, allocations: 31.92 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4618, allocations: 3.281 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4619, allocations: 1.031 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.4619, allocations: 1.969 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4619, allocations: 5.688 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.462, allocations: 21.12 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.462, allocations: 10.98 kB / 0.7756 GB, free: 14.68 MB / 0.5606 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.0001208/0.4621, allocations: 182.7 kB / 0.7758 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.4622, allocations: 27.56 kB / 0.7758 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.4622, allocations: 22.58 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/0.4623, allocations: 37.47 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4623, allocations: 3.75 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4623, allocations: 1.266 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.463, allocations: 299.2 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.463, allocations: 1.359 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.463, allocations: 2.094 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.463, allocations: 2.969 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.463, allocations: 4.156 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.463, allocations: 3.938 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.463, allocations: 1.562 kB / 0.7762 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.4635, allocations: 494.8 kB / 0.7767 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.4635, allocations: 109.4 kB / 0.7768 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4636, allocations: 5.375 kB / 0.7768 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.4637, allocations: 5.312 kB / 0.7768 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.4637, allocations: 5.781 kB / 0.7768 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4637, allocations: 13.92 kB / 0.7768 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001774/0.4639, allocations: 215 kB / 0.777 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.91e-07/0.4639, allocations: 1.188 kB / 0.777 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005002/0.4644, allocations: 171 kB / 0.7772 GB, free: 13.95 MB / 0.5606 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.0003777/0.4648, allocations: 209.5 kB / 0.7774 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.4652, allocations: 388.3 kB / 0.7777 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4652, allocations: 0.6562 kB / 0.7777 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.4655, allocations: 237.4 kB / 0.778 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4657, allocations: 10.25 kB / 0.778 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.4664, allocations: 0.5776 MB / 0.7785 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.4666, allocations: 0.7772 MB / 0.7793 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.491e-05/0.4667, allocations: 45.19 kB / 0.7793 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4668, allocations: 19.62 kB / 0.7794 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4668, allocations: 1.844 kB / 0.7794 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.00634/0.4731, allocations: 3.657 MB / 0.7829 GB, free: 12.66 MB / 0.5606 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)