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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 282.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 99.77 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002125/0.1343, allocations: 1.342 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1361, allocations: 1.333 MB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1361, allocations: 0 / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.945e-05/0.1362, allocations: 15.92 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.1373, allocations: 0.5792 MB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.326e-06/0.1374, allocations: 0 / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1375, allocations: 107.6 kB / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1375, allocations: 4.234 kB / 0.6836 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.1376, allocations: 47.83 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1377, allocations: 79.67 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1378, allocations: 4 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.1385, allocations: 0.7059 MB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1386, allocations: 47.89 kB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.1386, allocations: 63.53 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.1393, allocations: 0.6785 MB / 0.6852 GB, free: 11.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1393, allocations: 4 kB / 0.6852 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1393, allocations: 0 / 0.6852 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1393, allocations: 0 / 0.6852 GB, free: 11.59 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.0004938/0.1398, allocations: 494.9 kB / 0.6856 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1398, allocations: 16.03 kB / 0.6857 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1399, allocations: 46.72 kB / 0.6857 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1399, allocations: 20.66 kB / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1401, allocations: 200.1 kB / 0.6859 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1401, allocations: 8.359 kB / 0.6859 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1402, allocations: 16.3 kB / 0.6859 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1404, allocations: 209.1 kB / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1405, allocations: 0 / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1405, allocations: 7.984 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.1405, allocations: 47.95 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.1407, allocations: 144.8 kB / 0.6863 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.1415, allocations: 0.4925 MB / 0.6868 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1417, allocations: 90.52 kB / 0.6869 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.1418, allocations: 60.77 kB / 0.687 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1418, allocations: 0 / 0.687 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1419, allocations: 38.5 kB / 0.687 GB, free: 9.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1419, allocations: 0 / 0.687 GB, free: 9.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003334/0.1422, allocations: 185.3 kB / 0.6872 GB, free: 9.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1422, allocations: 55.34 kB / 0.6872 GB, free: 9.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1425, allocations: 235.2 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1425, allocations: 25.7 kB / 0.6875 GB, free: 9.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.1426, allocations: 128.2 kB / 0.6876 GB, free: 8.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1426, allocations: 27.56 kB / 0.6876 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.1426, allocations: 37.69 kB / 0.6877 GB, free: 8.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.1428, allocations: 326.8 kB / 0.688 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.1428, allocations: 43.97 kB / 0.688 GB, free: 8.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.1429, allocations: 75.45 kB / 0.6881 GB, free: 8.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1431, allocations: 131.3 kB / 0.6882 GB, free: 8.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1431, allocations: 0 / 0.6882 GB, free: 8.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002263/0.1433, allocations: 161.3 kB / 0.6884 GB, free: 8.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1434, allocations: 8.375 kB / 0.6884 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1434, allocations: 0 / 0.6884 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1434, allocations: 4.094 kB / 0.6884 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1435, allocations: 15.98 kB / 0.6884 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1435, allocations: 15.81 kB / 0.6884 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.1436, allocations: 23.69 kB / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1436, allocations: 8 kB / 0.6884 GB, free: 8.004 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.298e-05/0.1437, allocations: 126.5 kB / 0.6886 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1438, allocations: 15.81 kB / 0.6886 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.144, allocations: 182.9 kB / 0.6887 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.1441, allocations: 7.984 kB / 0.6887 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1441, allocations: 7.938 kB / 0.6888 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1441, allocations: 0 / 0.6888 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1443, allocations: 225.6 kB / 0.689 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1444, allocations: 0 / 0.689 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.1444, allocations: 8 kB / 0.689 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1445, allocations: 4 kB / 0.689 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1445, allocations: 3.984 kB / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1445, allocations: 0 / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1445, allocations: 3.938 kB / 0.689 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1447, allocations: 263.2 kB / 0.6892 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.1448, allocations: 100.8 kB / 0.6893 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1448, allocations: 4 kB / 0.6893 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.1449, allocations: 4 kB / 0.6893 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1449, allocations: 11.92 kB / 0.6894 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.145, allocations: 4 kB / 0.6894 GB, free: 6.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1451, allocations: 177 kB / 0.6895 GB, free: 6.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1451, allocations: 4 kB / 0.6895 GB, free: 6.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.1456, allocations: 216 kB / 0.6897 GB, free: 6.562 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.0007891/0.1464, allocations: 0.9249 MB / 0.6906 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1466, allocations: 135.8 kB / 0.6908 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1466, allocations: 8.188 kB / 0.6908 GB, free: 5.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.1467, allocations: 79.88 kB / 0.6909 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.147, allocations: 13.56 kB / 0.6909 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1491, allocations: 2.318 MB / 0.6931 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1494, allocations: 0.7318 MB / 0.6938 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.1496, allocations: 41.06 kB / 0.6939 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.1496, allocations: 51.42 kB / 0.6939 GB, free: 2.125 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1497, allocations: 0 / 0.6939 GB, free: 2.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1711, allocations: 5.754 MB / 0.6996 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.234, allocations: 10.91 kB / 0.6996 GB, free: 12.54 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)