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.001134/0.001134, 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.00117/0.00117, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 286.9 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8735/0.8735, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 101.6 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 86.97 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.0021/0.1368, allocations: 1.436 MB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1384, allocations: 1.345 MB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.1385, allocations: 0 / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.1386, allocations: 20.48 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.1396, allocations: 0.5336 MB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.935e-06/0.1396, allocations: 2.438 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1397, allocations: 127.6 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1398, allocations: 7.984 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.1399, allocations: 63.75 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.14, allocations: 83.64 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.14, allocations: 8 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.1407, allocations: 0.7079 MB / 0.684 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.1408, allocations: 59.88 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1408, allocations: 71.45 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.1414, allocations: 0.6941 MB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1414, allocations: 0 / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1414, allocations: 0 / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1414, allocations: 0.6875 kB / 0.6848 GB, free: 11.83 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.0004701/0.1419, allocations: 0.515 MB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.142, allocations: 8.906 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.142, allocations: 54.66 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.142, allocations: 20.75 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1422, allocations: 209.4 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1422, allocations: 13.59 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1422, allocations: 8.359 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1425, allocations: 232.4 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1425, allocations: 0.8125 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1426, allocations: 0 / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.17e-05/0.1426, allocations: 63.94 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1429, allocations: 160.2 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.1436, allocations: 0.5397 MB / 0.6865 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1438, allocations: 86.59 kB / 0.6866 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.1439, allocations: 48.83 kB / 0.6867 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1439, allocations: 7.922 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1439, allocations: 38.44 kB / 0.6867 GB, free: 9.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1439, allocations: 0 / 0.6867 GB, free: 9.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002961/0.1442, allocations: 173.4 kB / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1443, allocations: 51.41 kB / 0.6869 GB, free: 9.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1445, allocations: 248 kB / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1445, allocations: 25.7 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1446, allocations: 147.9 kB / 0.6873 GB, free: 9.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.1446, allocations: 23.62 kB / 0.6873 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1447, allocations: 29.7 kB / 0.6874 GB, free: 8.945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.1447, allocations: 330.8 kB / 0.6877 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.1448, allocations: 47.97 kB / 0.6877 GB, free: 8.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.1449, allocations: 92.12 kB / 0.6878 GB, free: 8.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1451, allocations: 144.1 kB / 0.688 GB, free: 8.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1451, allocations: 0 / 0.688 GB, free: 8.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002345/0.1453, allocations: 181.2 kB / 0.6881 GB, free: 8.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1454, allocations: 11.98 kB / 0.6881 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1454, allocations: 320 / 0.6881 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1454, allocations: 4 kB / 0.6881 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.1456, allocations: 15.98 kB / 0.6882 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1456, allocations: 4.062 kB / 0.6882 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.1457, allocations: 19.78 kB / 0.6882 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1457, allocations: 11.98 kB / 0.6882 GB, free: 8.055 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 9.579e-05/0.1458, allocations: 147.2 kB / 0.6883 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.1458, allocations: 19.66 kB / 0.6884 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1461, allocations: 167 kB / 0.6885 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.1461, allocations: 11.92 kB / 0.6885 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1461, allocations: 4.094 kB / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1462, allocations: 3.938 kB / 0.6885 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1464, allocations: 249.5 kB / 0.6888 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1464, allocations: 7.922 kB / 0.6888 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1466, allocations: 12 kB / 0.6888 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1466, allocations: 0 / 0.6888 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1466, allocations: 4 kB / 0.6888 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1466, allocations: 0 / 0.6888 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1466, allocations: 0 / 0.6888 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1468, allocations: 255.1 kB / 0.689 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1469, allocations: 92.86 kB / 0.6891 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1469, allocations: 8 kB / 0.6891 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.147, allocations: 4 kB / 0.6891 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.147, allocations: 7.984 kB / 0.6891 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1471, allocations: 4 kB / 0.6892 GB, free: 6.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1472, allocations: 192.9 kB / 0.6893 GB, free: 6.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1472, allocations: 0 / 0.6893 GB, free: 6.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004554/0.1477, allocations: 223.8 kB / 0.6895 GB, free: 6.57 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.0007792/0.1485, allocations: 0.9268 MB / 0.6905 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1487, allocations: 135.8 kB / 0.6906 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1488, allocations: 0 / 0.6906 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.1489, allocations: 71.88 kB / 0.6907 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1491, allocations: 12.67 kB / 0.6907 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1513, allocations: 2.446 MB / 0.6931 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1516, allocations: 0.7512 MB / 0.6938 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1517, allocations: 45.72 kB / 0.6938 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.1518, allocations: 63.41 kB / 0.6939 GB, free: 1.977 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1518, allocations: 0 / 0.6939 GB, free: 1.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.453/2.605, allocations: 5.967 MB / 0.6997 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/2.605, allocations: 255.3 kB / 0.7 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/4.547, allocations: 0 / 0.7 GB, free: 11.96 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)