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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8708/0.8708, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 187.4 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.2 MB / 447.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 96.25 kB / 0.5187 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 271.6 kB / 0.6005 GB, free: 48.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006427/0.0006428, allocations: 21.11 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1987, allocations: 82.79 MB / 0.7738 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.7107, allocations: 111.2 MB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.711, allocations: 78.39 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01983/0.7308, allocations: 6.343 MB / 0.8887 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7309, allocations: 0 / 0.8887 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.7309, allocations: 3.531 kB / 0.8887 GB, free: 107.6 MB / 0.5417 GB 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.0008466/0.7318, allocations: 0.5211 MB / 0.8892 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7318, allocations: 8.312 kB / 0.8892 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.7319, allocations: 55.84 kB / 0.8892 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.7319, allocations: 14.75 kB / 0.8892 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.7322, allocations: 215.4 kB / 0.8894 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.7322, allocations: 6.844 kB / 0.8895 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.7322, allocations: 12.55 kB / 0.8895 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.7326, allocations: 213.3 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7326, allocations: 0 / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.7326, allocations: 13.14 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/0.7327, allocations: 42.52 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.7329, allocations: 151.3 kB / 0.8899 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.7338, allocations: 0.5463 MB / 0.8904 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.7341, allocations: 87.67 kB / 0.8905 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.7341, allocations: 2.688 kB / 0.8905 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.7341, allocations: 30.56 kB / 0.8905 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.7341, allocations: 3.938 kB / 0.8905 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0003496/0.7345, allocations: 251.7 kB / 0.8908 GB, free: 106 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.7345, allocations: 53.84 kB / 0.8908 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.7347, allocations: 217.9 kB / 0.891 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.7347, allocations: 29.7 kB / 0.891 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.7348, allocations: 145.2 kB / 0.8912 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7348, allocations: 27.72 kB / 0.8912 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.7348, allocations: 4.75 kB / 0.8912 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.7349, allocations: 328 kB / 0.8915 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.735, allocations: 47.33 kB / 0.8916 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.7351, allocations: 89 kB / 0.8917 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.7352, allocations: 67.45 kB / 0.8917 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7352, allocations: 0 / 0.8917 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002376/0.7355, allocations: 186.3 kB / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7355, allocations: 5.531 kB / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7355, allocations: 0 / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7355, allocations: 2.906 kB / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.7357, allocations: 21.42 kB / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7357, allocations: 2.438 kB / 0.8919 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.7358, allocations: 29.06 kB / 0.892 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.7359, allocations: 12.52 kB / 0.892 GB, free: 105.1 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.736, allocations: 134.9 kB / 0.8921 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.736, allocations: 20.55 kB / 0.8921 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.7363, allocations: 171.8 kB / 0.8923 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7363, allocations: 3.031 kB / 0.8923 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7363, allocations: 0 / 0.8923 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7364, allocations: 6.672 kB / 0.8923 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.7366, allocations: 243.3 kB / 0.8925 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7366, allocations: 1.5 kB / 0.8925 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.7367, allocations: 14.08 kB / 0.8925 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7367, allocations: 7.891 kB / 0.8925 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.7367, allocations: 2.562 kB / 0.8926 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7368, allocations: 0 / 0.8926 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7368, allocations: 6.719 kB / 0.8926 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.737, allocations: 253.9 kB / 0.8928 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.7371, allocations: 92.67 kB / 0.8929 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.7371, allocations: 7.328 kB / 0.8929 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.7372, allocations: 0 / 0.8929 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.7372, allocations: 11.38 kB / 0.8929 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.7373, allocations: 9.781 kB / 0.8929 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001356/0.7374, allocations: 187.9 kB / 0.8931 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7374, allocations: 0 / 0.8931 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000974/0.7384, allocations: 264 kB / 0.8933 GB, free: 104.2 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009454/0.7393, allocations: 0.9573 MB / 0.8943 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.7396, allocations: 131.3 kB / 0.8944 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7396, allocations: 0 / 0.8944 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.7397, allocations: 77.23 kB / 0.8945 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.7399, allocations: 15.55 kB / 0.8945 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.7419, allocations: 1.862 MB / 0.8963 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.7422, allocations: 0.757 MB / 0.8971 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.7423, allocations: 40.5 kB / 0.8971 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.7424, allocations: 60.88 kB / 0.8971 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/0.7424, allocations: 0.9375 kB / 0.8971 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.7624, allocations: 5.667 MB / 0.9027 GB, free: 98.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.7626, allocations: 230.3 kB / 0.9029 GB, free: 98.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.598, allocations: 0 / 0.9029 GB, free: 98.48 MB / 0.5417 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/linux/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)