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.8122/0.8122, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001205/0.001205, allocations: 184.8 kB / 182.2 MB, free: 9.43 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.466/1.466, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009478/0.0009478, allocations: 88.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 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: 278.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.759e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3948, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.543, allocations: 110.2 MB / 0.8651 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5433, allocations: 81.34 kB / 0.8652 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01807/0.5614, allocations: 6.015 MB / 0.8711 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5615, allocations: 0 / 0.8711 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5615, allocations: 7.938 kB / 0.8711 GB, free: 11.42 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.0005662/0.562, allocations: 0.4978 MB / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5621, allocations: 15.97 kB / 0.8716 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.5621, allocations: 11.81 kB / 0.8716 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.5624, allocations: 207.6 kB / 0.8718 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5624, allocations: 7.953 kB / 0.8718 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.5624, allocations: 4 kB / 0.8718 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002326/0.5627, allocations: 140.2 kB / 0.8719 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.563, allocations: 186.4 kB / 0.8721 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.563, allocations: 0 / 0.8721 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.563, allocations: 0 / 0.8721 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.5631, allocations: 35.97 kB / 0.8721 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.5638, allocations: 437 kB / 0.8726 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.564, allocations: 78.59 kB / 0.8726 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.5641, allocations: 56.89 kB / 0.8727 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.5641, allocations: 0 / 0.8727 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5642, allocations: 30.56 kB / 0.8727 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.5642, allocations: 0 / 0.8727 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002984/0.5645, allocations: 145.4 kB / 0.8729 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.5645, allocations: 51.41 kB / 0.8729 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5646, allocations: 136 kB / 0.873 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5647, allocations: 25.7 kB / 0.8731 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.5647, allocations: 136 kB / 0.8732 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.5648, allocations: 31.55 kB / 0.8732 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5648, allocations: 0 / 0.8732 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5649, allocations: 322.8 kB / 0.8735 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.565, allocations: 39.97 kB / 0.8736 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.5651, allocations: 79.27 kB / 0.8736 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.5652, allocations: 55.95 kB / 0.8737 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5652, allocations: 0 / 0.8737 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002346/0.5654, allocations: 153.5 kB / 0.8738 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5655, allocations: 7.938 kB / 0.8738 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5655, allocations: 0 / 0.8738 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5655, allocations: 4 kB / 0.8738 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.5656, allocations: 19.92 kB / 0.8739 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5656, allocations: 2.5 kB / 0.8739 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.5657, allocations: 15.89 kB / 0.8739 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.5657, allocations: 11.98 kB / 0.8739 GB, free: 8.312 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 () * 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.389e-05/0.5658, allocations: 105.5 kB / 0.874 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002152/0.566, allocations: 137.5 kB / 0.8741 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.5661, allocations: 7.906 kB / 0.8741 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.5663, allocations: 150.1 kB / 0.8743 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.5664, allocations: 7.953 kB / 0.8743 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5664, allocations: 4 kB / 0.8743 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5664, allocations: 0 / 0.8743 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.5666, allocations: 206.1 kB / 0.8745 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5666, allocations: 0 / 0.8745 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.5667, allocations: 19.92 kB / 0.8745 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5667, allocations: 3.938 kB / 0.8745 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5668, allocations: 4 kB / 0.8745 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5668, allocations: 0 / 0.8745 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5668, allocations: 0 / 0.8745 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.567, allocations: 247.2 kB / 0.8747 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.5671, allocations: 85.02 kB / 0.8748 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5671, allocations: 0 / 0.8748 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.5672, allocations: 0 / 0.8748 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.5672, allocations: 11.92 kB / 0.8748 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5673, allocations: 8 kB / 0.8748 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.822e-05/0.5673, allocations: 114.1 kB / 0.875 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5673, allocations: 0 / 0.875 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005772/0.5679, allocations: 263.5 kB / 0.8752 GB, free: 6.883 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 () * 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.0009382/0.5689, allocations: 0.9562 MB / 0.8761 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.5691, allocations: 116 kB / 0.8763 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5691, allocations: 3.938 kB / 0.8763 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5692, allocations: 79.88 kB / 0.8763 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.5694, allocations: 4.844 kB / 0.8763 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.5701, allocations: 378.4 kB / 0.8767 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5704, allocations: 0.7431 MB / 0.8774 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.5706, allocations: 28.66 kB / 0.8775 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.5706, allocations: 59.34 kB / 0.8775 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5706, allocations: 0 / 0.8775 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.5933, allocations: 4.639 MB / 0.882 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.5936, allocations: 197.8 kB / 0.8822 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.255, allocations: 0 / 0.8822 GB, free: 15.58 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)