Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001086/0.001086, allocations: 187.9 kB / 16.25 MB, free: 6.625 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.334/1.334, 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.002112/0.002112, allocations: 282.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 90.56 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1412, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002221/0.1435, allocations: 1.409 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1453, allocations: 1.338 MB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.1453, allocations: 0 / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.1454, allocations: 15.91 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.1465, allocations: 0.5251 MB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.317e-06/0.1465, allocations: 8 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1466, allocations: 95.72 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1467, allocations: 4.234 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1468, allocations: 55.75 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1469, allocations: 71.67 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1469, allocations: 4 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.1477, allocations: 0.7098 MB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1478, allocations: 55.86 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.1478, allocations: 59.55 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.1485, allocations: 0.6785 MB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1485, allocations: 4 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1485, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1485, allocations: 0 / 0.6845 GB, free: 12.01 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005251/0.149, allocations: 0.4989 MB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1491, allocations: 12.02 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1491, allocations: 16.75 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1493, allocations: 198.3 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1493, allocations: 8.359 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1493, allocations: 8.375 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1496, allocations: 218.7 kB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1496, allocations: 0 / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1497, allocations: 3.984 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.1497, allocations: 51.95 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1499, allocations: 140.2 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.1506, allocations: 0.4965 MB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1509, allocations: 90.53 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.151, allocations: 52.83 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.151, allocations: 3.984 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.151, allocations: 30.56 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.151, allocations: 0 / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003137/0.1513, allocations: 193.3 kB / 0.6865 GB, free: 9.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1514, allocations: 55.41 kB / 0.6865 GB, free: 9.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1516, allocations: 238.8 kB / 0.6868 GB, free: 9.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1517, allocations: 29.7 kB / 0.6868 GB, free: 9.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.1517, allocations: 128.2 kB / 0.6869 GB, free: 9.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1518, allocations: 31.55 kB / 0.6869 GB, free: 9.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1518, allocations: 25.7 kB / 0.687 GB, free: 9.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1519, allocations: 330.8 kB / 0.6873 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.152, allocations: 43.95 kB / 0.6873 GB, free: 8.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.1521, allocations: 71.41 kB / 0.6874 GB, free: 8.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1523, allocations: 131.6 kB / 0.6875 GB, free: 8.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1523, allocations: 0 / 0.6875 GB, free: 8.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002241/0.1525, allocations: 173.3 kB / 0.6877 GB, free: 8.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1525, allocations: 4 kB / 0.6877 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1525, allocations: 4 kB / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1526, allocations: 3.984 kB / 0.6877 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1527, allocations: 12 kB / 0.6877 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1527, allocations: 7.875 kB / 0.6877 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.1527, allocations: 19.69 kB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1528, allocations: 11.98 kB / 0.6878 GB, free: 8.469 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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 9.839e-05/0.1529, allocations: 134.5 kB / 0.6879 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.1529, allocations: 19.88 kB / 0.6879 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.1532, allocations: 170.9 kB / 0.6881 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.1532, allocations: 4 kB / 0.6881 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1532, allocations: 3.938 kB / 0.6881 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1532, allocations: 0 / 0.6881 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1535, allocations: 225.6 kB / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1535, allocations: 0 / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1536, allocations: 16.11 kB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1536, allocations: 8 kB / 0.6883 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1536, allocations: 8 kB / 0.6883 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1536, allocations: 0 / 0.6883 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1536, allocations: 3.938 kB / 0.6883 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1539, allocations: 255.2 kB / 0.6886 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.154, allocations: 96.86 kB / 0.6887 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.154, allocations: 0 / 0.6887 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.1541, allocations: 7.938 kB / 0.6887 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1541, allocations: 15.92 kB / 0.6887 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1541, allocations: 8 kB / 0.6887 GB, free: 7.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1543, allocations: 176.4 kB / 0.6889 GB, free: 7.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1543, allocations: 0 / 0.6889 GB, free: 7.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000456/0.1547, allocations: 215.9 kB / 0.6891 GB, free: 7.027 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.000445/0.1552, allocations: 239.1 kB / 0.6893 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.1555, allocations: 140 kB / 0.6894 GB, free: 6.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1555, allocations: 4.188 kB / 0.6894 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1556, allocations: 75.88 kB / 0.6895 GB, free: 6.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1558, allocations: 12 kB / 0.6895 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1563, allocations: 390.9 kB / 0.6899 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1566, allocations: 0.7357 MB / 0.6906 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1567, allocations: 37.08 kB / 0.6906 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.1568, allocations: 23.42 kB / 0.6907 GB, free: 5.332 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1568, allocations: 3.938 kB / 0.6907 GB, free: 5.328 MB / 494.1 MB Notification: Performance of Templates: time 0.006038/0.1629, allocations: 3.783 MB / 0.6944 GB, free: 1.578 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)