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.0008958/0.0008958, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005334/0.005334, allocations: 173.8 kB / 16.27 MB, free: 6.676 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.233/1.233, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 267.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.856/0.856, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 14.06 kB / 0.5988 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.001181/0.1318, allocations: 1.101 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1336, allocations: 1.398 MB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.1336, allocations: 0 / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.487e-05/0.1337, allocations: 15.86 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.1345, allocations: 396.1 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.774e-06/0.1345, allocations: 0.5312 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1347, allocations: 195.4 kB / 0.6882 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.1347, allocations: 12.53 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.1348, allocations: 60.39 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1349, allocations: 85.55 kB / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.135, allocations: 4 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.1357, allocations: 0.6512 MB / 0.689 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.1357, allocations: 63.86 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.1358, allocations: 93.17 kB / 0.6892 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.1364, allocations: 0.6679 MB / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1364, allocations: 0 / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1365, allocations: 0 / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1365, allocations: 0 / 0.6898 GB, free: 10.23 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.0004715/0.1369, allocations: 495.9 kB / 0.6903 GB, free: 9.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.137, allocations: 12.03 kB / 0.6903 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.137, allocations: 52.73 kB / 0.6904 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1371, allocations: 16.66 kB / 0.6904 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1372, allocations: 208 kB / 0.6906 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1372, allocations: 8.375 kB / 0.6906 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1373, allocations: 12.36 kB / 0.6906 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1376, allocations: 225.2 kB / 0.6908 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1376, allocations: 4 kB / 0.6908 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1376, allocations: 7.984 kB / 0.6908 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.1377, allocations: 47.95 kB / 0.6909 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.1379, allocations: 164.2 kB / 0.691 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.1387, allocations: 0.547 MB / 0.6916 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1389, allocations: 85.62 kB / 0.6917 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.1389, allocations: 52.81 kB / 0.6917 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.139, allocations: 3.938 kB / 0.6917 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.139, allocations: 30.56 kB / 0.6917 GB, free: 8.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.139, allocations: 0 / 0.6917 GB, free: 8.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002947/0.1393, allocations: 177.3 kB / 0.6919 GB, free: 7.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.1393, allocations: 52.19 kB / 0.692 GB, free: 7.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1395, allocations: 249.8 kB / 0.6922 GB, free: 7.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1396, allocations: 25.7 kB / 0.6922 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.1396, allocations: 151.9 kB / 0.6924 GB, free: 7.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1397, allocations: 23.61 kB / 0.6924 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1397, allocations: 14.59 kB / 0.6924 GB, free: 7.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1398, allocations: 334.8 kB / 0.6927 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.1399, allocations: 48.59 kB / 0.6928 GB, free: 7.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.14, allocations: 89.72 kB / 0.6929 GB, free: 6.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1402, allocations: 145.1 kB / 0.693 GB, free: 6.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1402, allocations: 4 kB / 0.693 GB, free: 6.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002362/0.1404, allocations: 177.2 kB / 0.6932 GB, free: 6.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1404, allocations: 6.031 kB / 0.6932 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1404, allocations: 4 kB / 0.6932 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1405, allocations: 3.984 kB / 0.6932 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1406, allocations: 24.12 kB / 0.6932 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1406, allocations: 3.984 kB / 0.6932 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.1407, allocations: 15.78 kB / 0.6932 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1407, allocations: 8 kB / 0.6932 GB, free: 6.523 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.0001018/0.1409, allocations: 143.1 kB / 0.6934 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1409, allocations: 23.66 kB / 0.6934 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1412, allocations: 167 kB / 0.6935 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.1412, allocations: 11.98 kB / 0.6936 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1412, allocations: 0 / 0.6936 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.1412, allocations: 0 / 0.6936 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1415, allocations: 237.5 kB / 0.6938 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1415, allocations: 11.81 kB / 0.6938 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1416, allocations: 19.98 kB / 0.6938 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1416, allocations: 0 / 0.6938 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1416, allocations: 4 kB / 0.6938 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1416, allocations: 4.062 kB / 0.6938 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1416, allocations: 4 kB / 0.6938 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1419, allocations: 251.1 kB / 0.6941 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.142, allocations: 104.8 kB / 0.6942 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.142, allocations: 4 kB / 0.6942 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.1421, allocations: 0 / 0.6942 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1421, allocations: 8.172 kB / 0.6942 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1421, allocations: 8 kB / 0.6942 GB, free: 5.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1423, allocations: 192.9 kB / 0.6944 GB, free: 5.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 4 kB / 0.6944 GB, free: 5.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.1427, allocations: 219.8 kB / 0.6946 GB, free: 5.035 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.0007909/0.1435, allocations: 0.9251 MB / 0.6955 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1438, allocations: 136 kB / 0.6956 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1438, allocations: 0 / 0.6956 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1439, allocations: 71.94 kB / 0.6957 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1441, allocations: 14.84 kB / 0.6957 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1464, allocations: 2.439 MB / 0.6981 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1466, allocations: 0.7551 MB / 0.6988 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.1467, allocations: 41.41 kB / 0.6989 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.1468, allocations: 55.42 kB / 0.6989 GB, free: 460 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1468, allocations: 0 / 0.6989 GB, free: 460 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.153, allocations: 5.802 MB / 0.7046 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.154, allocations: 260 kB / 0.7048 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.449, allocations: 0 / 0.7048 GB, free: 10.59 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)