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.7255/0.7255, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 179.7 kB / 187.3 MB, free: 11.89 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.316/1.316, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008676/0.0008676, allocations: 92.14 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 275.4 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.1e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3802, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4969, allocations: 110.9 MB / 0.8727 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4971, allocations: 76.83 kB / 0.8727 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.5148, allocations: 6.03 MB / 0.8786 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5149, allocations: 0 / 0.8786 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.5149, allocations: 4 kB / 0.8786 GB, free: 7.52 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.0006638/0.5156, allocations: 0.494 MB / 0.8791 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5156, allocations: 8.031 kB / 0.8791 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.5157, allocations: 46.53 kB / 0.8792 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.5157, allocations: 19.8 kB / 0.8792 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.516, allocations: 214.7 kB / 0.8794 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.516, allocations: 15.92 kB / 0.8794 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.516, allocations: 11.98 kB / 0.8794 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.5163, allocations: 186.5 kB / 0.8796 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5164, allocations: 0 / 0.8796 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.5164, allocations: 3.984 kB / 0.8796 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.5164, allocations: 35.97 kB / 0.8796 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.5167, allocations: 128.2 kB / 0.8798 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.5175, allocations: 0.4946 MB / 0.8802 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.5177, allocations: 86.53 kB / 0.8803 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.5178, allocations: 52.89 kB / 0.8804 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5179, allocations: 0 / 0.8804 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.5179, allocations: 38.5 kB / 0.8804 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.5179, allocations: 3.938 kB / 0.8804 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002891/0.5182, allocations: 145.5 kB / 0.8806 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.5183, allocations: 51.41 kB / 0.8806 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.5185, allocations: 209.9 kB / 0.8808 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5185, allocations: 25.7 kB / 0.8808 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.5186, allocations: 132.1 kB / 0.881 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5186, allocations: 35.53 kB / 0.881 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.5186, allocations: 0 / 0.881 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5188, allocations: 326.8 kB / 0.8813 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.5189, allocations: 47.95 kB / 0.8813 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.5189, allocations: 67.41 kB / 0.8814 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.519, allocations: 63.81 kB / 0.8815 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5191, allocations: 0 / 0.8815 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000252/0.5193, allocations: 161.5 kB / 0.8816 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5193, allocations: 8 kB / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5194, allocations: 0 / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5194, allocations: 7.953 kB / 0.8816 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.5195, allocations: 19.92 kB / 0.8817 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5195, allocations: 0 / 0.8817 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.5196, allocations: 15.75 kB / 0.8817 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5196, allocations: 15.75 kB / 0.8817 GB, free: 4.16 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 7.498e-05/0.5197, allocations: 105 kB / 0.8818 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.5197, allocations: 15.91 kB / 0.8818 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.52, allocations: 175 kB / 0.882 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.5201, allocations: 7.953 kB / 0.882 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5201, allocations: 0 / 0.882 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5201, allocations: 0 / 0.882 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.5204, allocations: 229.5 kB / 0.8822 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5204, allocations: 0 / 0.8822 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.5205, allocations: 15.98 kB / 0.8822 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5205, allocations: 3.938 kB / 0.8822 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.5205, allocations: 7.984 kB / 0.8822 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5205, allocations: 4 kB / 0.8822 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5205, allocations: 3.953 kB / 0.8822 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.5208, allocations: 251.2 kB / 0.8825 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.5209, allocations: 100.8 kB / 0.8826 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.5209, allocations: 0 / 0.8826 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.521, allocations: 0 / 0.8826 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.521, allocations: 8.109 kB / 0.8826 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.5211, allocations: 19.95 kB / 0.8826 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001477/0.5212, allocations: 176.4 kB / 0.8828 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5212, allocations: 0 / 0.8828 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000649/0.5219, allocations: 247.7 kB / 0.883 GB, free: 2.719 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.001086/0.523, allocations: 0.9618 MB / 0.8839 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5232, allocations: 131.8 kB / 0.8841 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5232, allocations: 0 / 0.8841 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5233, allocations: 75.89 kB / 0.8841 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.5235, allocations: 9.016 kB / 0.8841 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.5243, allocations: 403.2 kB / 0.8845 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.5247, allocations: 0.7438 MB / 0.8853 GB, free: 328 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.5248, allocations: 41.84 kB / 0.8853 GB, free: 284 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.5249, allocations: 56.81 kB / 0.8853 GB, free: 228 kB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/0.5249, allocations: 3.938 kB / 0.8853 GB, free: 224 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.5431, allocations: 5.485 MB / 0.8907 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.5433, allocations: 208.7 kB / 0.8909 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.24, allocations: 0 / 0.8909 GB, free: 10.73 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)