Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",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.8701/0.8701, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.00172/0.001719, allocations: 179.4 kB / 191.5 MB, free: 5.773 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.536/1.536, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0009869/0.000987, allocations: 92.31 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 271.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 16.81 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.6356, allocations: 111 MB / 0.8822 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.6359, allocations: 79.72 kB / 0.8822 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.6541, allocations: 6.061 MB / 0.8881 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6542, allocations: 0 / 0.8881 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6542, allocations: 3.5 kB / 0.8881 GB, free: 30.83 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007062/0.6549, allocations: 0.509 MB / 0.8886 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.655, allocations: 17.2 kB / 0.8887 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.655, allocations: 51.3 kB / 0.8887 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.6551, allocations: 17.34 kB / 0.8887 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.6553, allocations: 209.5 kB / 0.8889 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.6553, allocations: 6.484 kB / 0.8889 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.6553, allocations: 6.016 kB / 0.8889 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.6556, allocations: 194.4 kB / 0.8891 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6556, allocations: 9.031 kB / 0.8891 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.6557, allocations: 1.953 kB / 0.8891 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.6557, allocations: 33.64 kB / 0.8892 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.656, allocations: 137.1 kB / 0.8893 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.6567, allocations: 495.3 kB / 0.8898 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.6569, allocations: 87.17 kB / 0.8899 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.6569, allocations: 0 / 0.8899 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.657, allocations: 37.16 kB / 0.8899 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.657, allocations: 0 / 0.8899 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0003371/0.6573, allocations: 271.7 kB / 0.8901 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.6573, allocations: 51.41 kB / 0.8902 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.6575, allocations: 215.8 kB / 0.8904 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.6575, allocations: 26.64 kB / 0.8904 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.6576, allocations: 130.9 kB / 0.8906 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.6576, allocations: 30.72 kB / 0.8906 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.6577, allocations: 7.5 kB / 0.8906 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.6577, allocations: 328.3 kB / 0.8909 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.6578, allocations: 41.66 kB / 0.8909 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.6579, allocations: 69.98 kB / 0.891 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.658, allocations: 58.52 kB / 0.8911 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.658, allocations: 6.625 kB / 0.8911 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.6582, allocations: 161.2 kB / 0.8912 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6582, allocations: 5.312 kB / 0.8912 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6582, allocations: 0 / 0.8912 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6582, allocations: 12.72 kB / 0.8912 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.6583, allocations: 16.59 kB / 0.8913 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6583, allocations: 2.625 kB / 0.8913 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.6584, allocations: 14.41 kB / 0.8913 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.6585, allocations: 14.31 kB / 0.8913 GB, free: 28.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.365e-05/0.6585, allocations: 142.7 kB / 0.8914 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.6586, allocations: 12.97 kB / 0.8914 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.6588, allocations: 170.4 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.6589, allocations: 2.906 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6589, allocations: 4.891 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6589, allocations: 1.969 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.6591, allocations: 229.6 kB / 0.8918 GB, free: 28.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6591, allocations: 4 kB / 0.8918 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.6592, allocations: 13.97 kB / 0.8918 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6592, allocations: 0 / 0.8918 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.6592, allocations: 8.094 kB / 0.8919 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6592, allocations: 1.188 kB / 0.8919 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6593, allocations: 3.984 kB / 0.8919 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.6595, allocations: 259.7 kB / 0.8921 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.6595, allocations: 98.94 kB / 0.8922 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.6596, allocations: 4 kB / 0.8922 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.6596, allocations: 2.969 kB / 0.8922 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.6597, allocations: 6.719 kB / 0.8922 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.6597, allocations: 12.16 kB / 0.8922 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001244/0.6598, allocations: 172.9 kB / 0.8924 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6598, allocations: 0 / 0.8924 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008329/0.6607, allocations: 246.6 kB / 0.8926 GB, free: 28.05 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.002127/0.6628, allocations: 0.9743 MB / 0.8936 GB, free: 43.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.6631, allocations: 132.3 kB / 0.8937 GB, free: 43.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6631, allocations: 0 / 0.8937 GB, free: 43.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/0.6632, allocations: 76.83 kB / 0.8938 GB, free: 43.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.6634, allocations: 12.09 kB / 0.8938 GB, free: 43.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6651, allocations: 1.648 MB / 0.8954 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.6655, allocations: 0.7485 MB / 0.8961 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.6657, allocations: 38.47 kB / 0.8962 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.6658, allocations: 54.27 kB / 0.8962 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of SimCode: time 3.827e-06/0.6658, allocations: 0.9375 kB / 0.8962 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.6868, allocations: 5.409 MB / 0.9015 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.687, allocations: 236.4 kB / 0.9017 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.592, allocations: 0 / 0.9017 GB, free: 41.08 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)