Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",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.001301/0.001301, allocations: 108 kB / 15.6 MB, free: 132 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.001368/0.001368, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 274.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.00277, allocations: 97.88 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1332, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002367/0.1356, allocations: 1.382 MB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1375, allocations: 1.33 MB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.1376, allocations: 7.938 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.1377, allocations: 12.36 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.139, allocations: 0.6026 MB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.035e-05/0.139, allocations: 0 / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1391, allocations: 127.6 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1392, allocations: 11.98 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1393, allocations: 59.75 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1395, allocations: 75.77 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1395, allocations: 11.94 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.1403, allocations: 0.7136 MB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.1404, allocations: 55.88 kB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.1405, allocations: 75.45 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007315/0.1412, allocations: 0.6902 MB / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1412, allocations: 0 / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1412, allocations: 0 / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1412, allocations: 0 / 0.6853 GB, free: 11.42 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005533/0.1418, allocations: 0.5222 MB / 0.6858 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1418, allocations: 8.031 kB / 0.6858 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.1419, allocations: 50.72 kB / 0.6859 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.1419, allocations: 16.75 kB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1421, allocations: 211.9 kB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1422, allocations: 12.36 kB / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1422, allocations: 8.359 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.1425, allocations: 234.7 kB / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1425, allocations: 0 / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1425, allocations: 0 / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.639e-05/0.1426, allocations: 51.94 kB / 0.6864 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1428, allocations: 160.3 kB / 0.6865 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/0.1437, allocations: 0.5476 MB / 0.6871 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1439, allocations: 82.53 kB / 0.6872 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.144, allocations: 48.83 kB / 0.6872 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.144, allocations: 3.938 kB / 0.6872 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1441, allocations: 38.56 kB / 0.6872 GB, free: 9.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1441, allocations: 0 / 0.6872 GB, free: 9.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003435/0.1444, allocations: 173.3 kB / 0.6874 GB, free: 9.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1445, allocations: 59.41 kB / 0.6875 GB, free: 9.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1447, allocations: 240.1 kB / 0.6877 GB, free: 8.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1447, allocations: 25.7 kB / 0.6877 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.1448, allocations: 148.4 kB / 0.6879 GB, free: 8.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1448, allocations: 23.61 kB / 0.6879 GB, free: 8.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1449, allocations: 37.7 kB / 0.6879 GB, free: 8.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.145, allocations: 330.8 kB / 0.6882 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.1451, allocations: 51.91 kB / 0.6883 GB, free: 8.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1452, allocations: 80.19 kB / 0.6884 GB, free: 8.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1454, allocations: 140.2 kB / 0.6885 GB, free: 7.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1454, allocations: 0 / 0.6885 GB, free: 7.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002692/0.1457, allocations: 185.2 kB / 0.6887 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1457, allocations: 8 kB / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1457, allocations: 0 / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1457, allocations: 128 / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1459, allocations: 27.92 kB / 0.6887 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1459, allocations: 7.984 kB / 0.6887 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.146, allocations: 19.78 kB / 0.6887 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1461, allocations: 8 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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 0.0001084/0.1462, allocations: 135.1 kB / 0.6889 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1462, allocations: 23.66 kB / 0.6889 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1465, allocations: 174.9 kB / 0.6891 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.1466, allocations: 7.984 kB / 0.6891 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1466, allocations: 3.984 kB / 0.6891 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1466, allocations: 0 / 0.6891 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1469, allocations: 237.5 kB / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1469, allocations: 7.875 kB / 0.6893 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.147, allocations: 12.05 kB / 0.6893 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.147, allocations: 8 kB / 0.6893 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1471, allocations: 4 kB / 0.6893 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1471, allocations: 0 / 0.6893 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1471, allocations: 7.938 kB / 0.6893 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1473, allocations: 251.3 kB / 0.6896 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1474, allocations: 100.9 kB / 0.6897 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1474, allocations: 3.938 kB / 0.6897 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1475, allocations: 4 kB / 0.6897 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.1476, allocations: 7.984 kB / 0.6897 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1476, allocations: 8 kB / 0.6897 GB, free: 6.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1477, allocations: 193 kB / 0.6899 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1478, allocations: 0 / 0.6899 GB, free: 6.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.1483, allocations: 219.8 kB / 0.6901 GB, free: 6.168 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.0008879/0.1492, allocations: 0.9308 MB / 0.691 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1495, allocations: 143.8 kB / 0.6911 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1495, allocations: 0 / 0.6911 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1496, allocations: 71.94 kB / 0.6912 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1499, allocations: 14.5 kB / 0.6912 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.1522, allocations: 2.386 MB / 0.6935 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1525, allocations: 0.7512 MB / 0.6943 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.1526, allocations: 41.41 kB / 0.6943 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.1527, allocations: 59.41 kB / 0.6944 GB, free: 1.629 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1527, allocations: 4 kB / 0.6944 GB, free: 1.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.173, allocations: 6.041 MB / 0.7003 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.15, allocations: 448 / 0.7003 GB, free: 11.75 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces_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_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)