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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001098/0.001098, allocations: 191 kB / 16.14 MB, free: 6.707 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.156/1.156, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 294.7 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8218/0.8218, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 91.45 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 86.99 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.001951/0.119, allocations: 1.431 MB / 0.6809 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1208, allocations: 1.422 MB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.1208, allocations: 0 / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.537e-05/0.1209, allocations: 19.86 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.1216, allocations: 391.6 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.073e-06/0.1217, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1218, allocations: 201.5 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.1219, allocations: 7.984 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1219, allocations: 59.75 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1221, allocations: 87.66 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1221, allocations: 4 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.1227, allocations: 0.644 MB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1228, allocations: 71.8 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.1229, allocations: 65.23 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.1235, allocations: 0.6628 MB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1235, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1235, allocations: 3.938 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1235, allocations: 0 / 0.6845 GB, free: 12.03 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.000468/0.124, allocations: 0.5158 MB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.124, allocations: 12.03 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.1241, allocations: 47.59 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1241, allocations: 16.75 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1243, allocations: 211.9 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1243, allocations: 8.984 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1243, allocations: 13.67 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1246, allocations: 226.8 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1246, allocations: 0 / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1246, allocations: 8.75 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-05/0.1247, allocations: 47.95 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1249, allocations: 164.2 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.1257, allocations: 0.5514 MB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1259, allocations: 86.59 kB / 0.6863 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.1259, allocations: 52.81 kB / 0.6864 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.126, allocations: 7.922 kB / 0.6864 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.126, allocations: 30.56 kB / 0.6864 GB, free: 9.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.126, allocations: 0 / 0.6864 GB, free: 9.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002983/0.1263, allocations: 181.3 kB / 0.6866 GB, free: 9.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.1263, allocations: 51.41 kB / 0.6866 GB, free: 9.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1265, allocations: 244.1 kB / 0.6869 GB, free: 9.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1266, allocations: 29.7 kB / 0.6869 GB, free: 9.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1266, allocations: 143.9 kB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1267, allocations: 27.61 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1267, allocations: 29.7 kB / 0.6871 GB, free: 9.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.1268, allocations: 330.8 kB / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.1269, allocations: 47.95 kB / 0.6875 GB, free: 8.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.942e-05/0.127, allocations: 88.23 kB / 0.6875 GB, free: 8.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1272, allocations: 140.1 kB / 0.6877 GB, free: 8.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1272, allocations: 0 / 0.6877 GB, free: 8.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002423/0.1274, allocations: 189.2 kB / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1274, allocations: 4 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1274, allocations: 0 / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.1275, allocations: 4 kB / 0.6879 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1276, allocations: 23.98 kB / 0.6879 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1276, allocations: 0 / 0.6879 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.1277, allocations: 15.78 kB / 0.6879 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1278, allocations: 11.98 kB / 0.6879 GB, free: 8.262 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.978e-05/0.1279, allocations: 147.2 kB / 0.6881 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1279, allocations: 19.66 kB / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1282, allocations: 170.9 kB / 0.6882 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.1282, allocations: 8 kB / 0.6882 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1282, allocations: 0 / 0.6882 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1282, allocations: 3.984 kB / 0.6882 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1285, allocations: 241.5 kB / 0.6885 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1285, allocations: 11.88 kB / 0.6885 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1286, allocations: 19.98 kB / 0.6885 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1286, allocations: 0 / 0.6885 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1286, allocations: 4 kB / 0.6885 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1287, allocations: 0 / 0.6885 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1287, allocations: 0 / 0.6885 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1289, allocations: 251.1 kB / 0.6887 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.129, allocations: 100.8 kB / 0.6888 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.129, allocations: 8.062 kB / 0.6889 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.1291, allocations: 8 kB / 0.6889 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.1291, allocations: 4 kB / 0.6889 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1291, allocations: 7.984 kB / 0.6889 GB, free: 7.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1293, allocations: 189 kB / 0.6891 GB, free: 6.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1293, allocations: 0 / 0.6891 GB, free: 6.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.1297, allocations: 223.8 kB / 0.6893 GB, free: 6.773 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.0007783/0.1305, allocations: 0.923 MB / 0.6902 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1307, allocations: 128.4 kB / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1307, allocations: 0 / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.1308, allocations: 75.83 kB / 0.6904 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1311, allocations: 14.84 kB / 0.6904 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1332, allocations: 2.434 MB / 0.6928 GB, free: 3.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1335, allocations: 0.759 MB / 0.6935 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1336, allocations: 41.41 kB / 0.6935 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.1337, allocations: 55.42 kB / 0.6936 GB, free: 2.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1337, allocations: 0 / 0.6936 GB, free: 2.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.977/4.11, allocations: 5.885 MB / 0.6993 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/4.11, allocations: 258.1 kB / 0.6996 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/6.891, allocations: 5.969 kB / 0.6996 GB, free: 12.24 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)