Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.7467/0.7467, 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.0009586/0.0009586, allocations: 183.8 kB / 187.3 MB, free: 11.88 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.319/1.319, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009878/0.0009876, allocations: 93.22 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 280.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.539e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4214, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.5341, allocations: 110.2 MB / 0.872 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.5343, allocations: 76.52 kB / 0.8721 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.5474, allocations: 4.933 MB / 0.8769 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5474, allocations: 0 / 0.8769 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5474, allocations: 4 kB / 0.8769 GB, free: 9.293 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005759/0.548, allocations: 0.5345 MB / 0.8774 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5481, allocations: 8.031 kB / 0.8774 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.5481, allocations: 62.53 kB / 0.8775 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.5482, allocations: 23.62 kB / 0.8775 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.5485, allocations: 242.7 kB / 0.8778 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5485, allocations: 11.88 kB / 0.8778 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.5486, allocations: 8 kB / 0.8778 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.549, allocations: 296.9 kB / 0.8781 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.549, allocations: 3.984 kB / 0.8781 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.549, allocations: 4 kB / 0.8781 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.822e-05/0.5491, allocations: 47.91 kB / 0.8781 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.5494, allocations: 232.4 kB / 0.8783 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.5511, allocations: 0.6375 MB / 0.879 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5514, allocations: 182.7 kB / 0.8791 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.5516, allocations: 173.1 kB / 0.8793 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.5516, allocations: 4 kB / 0.8793 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5516, allocations: 38.56 kB / 0.8793 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.5516, allocations: 0 / 0.8793 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005315/0.5522, allocations: 387.8 kB / 0.8797 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5522, allocations: 77.11 kB / 0.8798 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5525, allocations: 262.9 kB / 0.88 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5525, allocations: 25.7 kB / 0.8801 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.5526, allocations: 140.8 kB / 0.8802 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.5527, allocations: 110.3 kB / 0.8803 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.5527, allocations: 0 / 0.8803 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5529, allocations: 354.7 kB / 0.8806 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.5531, allocations: 139.8 kB / 0.8808 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5532, allocations: 141.8 kB / 0.8809 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.5534, allocations: 186 kB / 0.8811 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5534, allocations: 0 / 0.8811 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004539/0.5539, allocations: 391.7 kB / 0.8815 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5539, allocations: 33.7 kB / 0.8815 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5539, allocations: 0 / 0.8815 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.554, allocations: 4 kB / 0.8815 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.554, allocations: 0 / 0.8815 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.554, allocations: 0 / 0.8815 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.5541, allocations: 27.59 kB / 0.8815 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5541, allocations: 15.98 kB / 0.8815 GB, free: 4.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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 9.578e-05/0.5542, allocations: 138.6 kB / 0.8817 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.5543, allocations: 23.72 kB / 0.8817 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.5543, allocations: 27.08 kB / 0.8817 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/0.5544, allocations: 19.98 kB / 0.8817 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5544, allocations: 7.938 kB / 0.8817 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5544, allocations: 0 / 0.8817 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.5551, allocations: 301.2 kB / 0.882 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5551, allocations: 0 / 0.882 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.5552, allocations: 7.984 kB / 0.882 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5552, allocations: 0 / 0.882 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5552, allocations: 4 kB / 0.882 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5552, allocations: 0 / 0.882 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5552, allocations: 0 / 0.882 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.5557, allocations: 0.502 MB / 0.8825 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.5558, allocations: 108.6 kB / 0.8826 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.5558, allocations: 4 kB / 0.8826 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.5559, allocations: 3.984 kB / 0.8826 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.5559, allocations: 7.984 kB / 0.8826 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.556, allocations: 16 kB / 0.8827 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001865/0.5562, allocations: 215 kB / 0.8829 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5562, allocations: 0 / 0.8829 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006328/0.5568, allocations: 199.7 kB / 0.8831 GB, free: 2.633 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 (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.001045/0.5579, allocations: 1.16 MB / 0.8842 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.5583, allocations: 379.2 kB / 0.8846 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5583, allocations: 0 / 0.8846 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.5585, allocations: 239.3 kB / 0.8848 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.5587, allocations: 16.56 kB / 0.8848 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.5596, allocations: 0.604 MB / 0.8854 GB, free: 160 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.56, allocations: 0.7875 MB / 0.8862 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.238e-05/0.56, allocations: 41.2 kB / 0.8862 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5601, allocations: 76.41 kB / 0.8863 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.5602, allocations: 0 / 0.8863 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.5775, allocations: 6.036 MB / 0.8922 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.5777, allocations: 200.9 kB / 0.8924 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.567, allocations: 0 / 0.8924 GB, free: 9.148 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)