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.001467/0.001472, allocations: 108 kB / 15.61 MB, free: 148 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.001726/0.001726, allocations: 193.1 kB / 16.53 MB, free: 6.691 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 287.1 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.998/0.998, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 91.16 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1361, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002512/0.1387, allocations: 1.374 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1407, allocations: 1.336 MB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.1408, allocations: 0 / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.206e-05/0.1409, allocations: 20.72 kB / 0.683 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.1423, allocations: 0.5914 MB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.158e-05/0.1424, allocations: 5 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1425, allocations: 123.6 kB / 0.6837 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1426, allocations: 11.92 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1427, allocations: 60.88 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1428, allocations: 75.66 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1429, allocations: 12 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.1437, allocations: 0.7175 MB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.1438, allocations: 59.88 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.1439, allocations: 67.47 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007965/0.1447, allocations: 0.6902 MB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1447, allocations: 0 / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1447, allocations: 0 / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1448, allocations: 0 / 0.6853 GB, free: 11.46 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.000617/0.1454, allocations: 0.5222 MB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1454, allocations: 8.031 kB / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.1455, allocations: 54.72 kB / 0.6859 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1455, allocations: 16.75 kB / 0.6859 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1457, allocations: 211.9 kB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1458, allocations: 8.359 kB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1458, allocations: 4.375 kB / 0.6861 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1461, allocations: 230.8 kB / 0.6863 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1461, allocations: 3.938 kB / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1461, allocations: 3.984 kB / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.1462, allocations: 59.94 kB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.1465, allocations: 160.2 kB / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.1474, allocations: 0.5398 MB / 0.6871 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1476, allocations: 86.52 kB / 0.6872 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.1477, allocations: 52.83 kB / 0.6872 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1477, allocations: 7.938 kB / 0.6872 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1477, allocations: 30.56 kB / 0.6872 GB, free: 9.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1477, allocations: 0 / 0.6872 GB, free: 9.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003539/0.1481, allocations: 177.4 kB / 0.6874 GB, free: 9.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1481, allocations: 51.41 kB / 0.6875 GB, free: 9.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1484, allocations: 248 kB / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1485, allocations: 29.7 kB / 0.6877 GB, free: 8.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1486, allocations: 148.4 kB / 0.6879 GB, free: 8.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1486, allocations: 27.56 kB / 0.6879 GB, free: 8.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.1487, allocations: 29.7 kB / 0.6879 GB, free: 8.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1489, allocations: 330.8 kB / 0.6882 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.149, allocations: 51.91 kB / 0.6883 GB, free: 8.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1491, allocations: 84.25 kB / 0.6884 GB, free: 8.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1494, allocations: 140.2 kB / 0.6885 GB, free: 7.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1494, allocations: 0 / 0.6885 GB, free: 7.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002664/0.1496, allocations: 177.4 kB / 0.6887 GB, free: 7.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1497, allocations: 12 kB / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1497, allocations: 0 / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1497, allocations: 4 kB / 0.6887 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1499, allocations: 23.92 kB / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1499, allocations: 4.312 kB / 0.6887 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.15, allocations: 19.84 kB / 0.6887 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.15, allocations: 8 kB / 0.6887 GB, free: 7.68 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.0001012/0.1501, allocations: 135.1 kB / 0.6889 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1502, allocations: 27.66 kB / 0.6889 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.1505, allocations: 174.9 kB / 0.6891 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.1505, allocations: 7.984 kB / 0.6891 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1505, allocations: 0 / 0.6891 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1505, allocations: 0 / 0.6891 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.1508, allocations: 245.5 kB / 0.6893 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1508, allocations: 3.938 kB / 0.6893 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.151, allocations: 20 kB / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.151, allocations: 0 / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.151, allocations: 0 / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.151, allocations: 8.078 kB / 0.6893 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.151, allocations: 7.922 kB / 0.6893 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1513, allocations: 251.1 kB / 0.6896 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1514, allocations: 92.86 kB / 0.6897 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1514, allocations: 4 kB / 0.6897 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1515, allocations: 8 kB / 0.6897 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.1515, allocations: 7.984 kB / 0.6897 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1515, allocations: 4 kB / 0.6897 GB, free: 6.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1517, allocations: 192.9 kB / 0.6899 GB, free: 6.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1517, allocations: 0 / 0.6899 GB, free: 6.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.1523, allocations: 219.8 kB / 0.6901 GB, free: 6.199 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.0008953/0.1532, allocations: 0.9346 MB / 0.691 GB, free: 5.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.1535, allocations: 139.8 kB / 0.6911 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1535, allocations: 0 / 0.6911 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1536, allocations: 67.95 kB / 0.6912 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1538, allocations: 14.5 kB / 0.6912 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1564, allocations: 2.39 MB / 0.6935 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1568, allocations: 0.7512 MB / 0.6943 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.1569, allocations: 41.78 kB / 0.6943 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.157, allocations: 59.41 kB / 0.6944 GB, free: 1.664 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.157, allocations: 0 / 0.6944 GB, free: 1.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7229/0.8799, allocations: 6.039 MB / 0.7003 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.353/10.23, allocations: 12.7 kB / 0.7003 GB, free: 11.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)