Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 179.4 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 100.9 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 8.906 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.043/6.292, allocations: 2.191 GB / 3.092 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/6.292, allocations: 91.44 kB / 3.092 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2054/6.497, allocations: 92.44 MB / 3.182 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.785e-06/6.497, allocations: 0 / 3.182 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.771e-05/6.497, allocations: 31.25 kB / 3.182 GB, free: 223.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002766/6.5, allocations: 1.514 MB / 3.183 GB, free: 222 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/6.5, allocations: 11.81 kB / 3.183 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/6.501, allocations: 205.6 kB / 3.184 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/6.501, allocations: 242.2 kB / 3.184 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/6.503, allocations: 0.7758 MB / 3.185 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/6.503, allocations: 107.2 kB / 3.185 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/6.503, allocations: 132 kB / 3.185 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/6.505, allocations: 1.373 MB / 3.186 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/6.505, allocations: 3.984 kB / 3.186 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/6.505, allocations: 58.44 kB / 3.186 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/6.505, allocations: 42.33 kB / 3.186 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/6.507, allocations: 1.472 MB / 3.188 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/6.513, allocations: 3.606 MB / 3.191 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/6.514, allocations: 0.9616 MB / 3.192 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/6.514, allocations: 55.97 kB / 3.192 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/6.515, allocations: 0.5757 MB / 3.193 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/6.515, allocations: 0 / 3.193 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.003529/6.519, allocations: 1.488 MB / 3.194 GB, free: 218 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/6.519, allocations: 249.1 kB / 3.194 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/6.52, allocations: 0.7189 MB / 3.195 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/6.52, allocations: 46.95 kB / 3.195 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/6.52, allocations: 0.5477 MB / 3.196 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/6.521, allocations: 348.8 kB / 3.196 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/6.521, allocations: 24.22 kB / 3.196 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/6.521, allocations: 345.6 kB / 3.196 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/6.521, allocations: 337.4 kB / 3.197 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/6.522, allocations: 465.2 kB / 3.197 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/6.523, allocations: 412.3 kB / 3.198 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/6.523, allocations: 0 / 3.198 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002059/6.525, allocations: 1.064 MB / 3.199 GB, free: 216 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/6.525, allocations: 3.906 kB / 3.199 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/6.525, allocations: 3.984 kB / 3.199 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/6.525, allocations: 87.36 kB / 3.199 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/6.526, allocations: 213.1 kB / 3.199 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/6.528, allocations: 1.551 MB / 3.2 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/6.529, allocations: 113.1 kB / 3.201 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/6.529, allocations: 43.5 kB / 3.201 GB, free: 214.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007203/6.53, allocations: 310.2 kB / 3.201 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/6.53, allocations: 97.59 kB / 3.201 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/6.533, allocations: 1.415 MB / 3.202 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/6.533, allocations: 15.38 kB / 3.202 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/6.533, allocations: 3.984 kB / 3.202 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/6.533, allocations: 3.984 kB / 3.202 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/6.537, allocations: 2.609 MB / 3.205 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/6.537, allocations: 0 / 3.205 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/6.538, allocations: 194.4 kB / 3.205 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/6.538, allocations: 88.14 kB / 3.205 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/6.538, allocations: 34.81 kB / 3.205 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/6.54, allocations: 1.572 MB / 3.207 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/6.54, allocations: 3.984 kB / 3.207 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/6.542, allocations: 1.167 MB / 3.208 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/6.543, allocations: 368.8 kB / 3.208 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/6.543, allocations: 22.69 kB / 3.208 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/6.543, allocations: 72.17 kB / 3.208 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/6.544, allocations: 75.66 kB / 3.208 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/6.544, allocations: 42.42 kB / 3.208 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008423/6.545, allocations: 0.613 MB / 3.209 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.8e-07/6.545, allocations: 0 / 3.209 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001317/6.546, allocations: 448.6 kB / 3.21 GB, free: 210.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003835/6.55, allocations: 2.638 MB / 3.212 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001743/6.551, allocations: 1.009 MB / 3.213 GB, free: 209 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.551, allocations: 3.938 kB / 3.213 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/6.552, allocations: 0.6096 MB / 3.214 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/6.554, allocations: 260.3 kB / 3.214 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/6.566, allocations: 6.82 MB / 3.221 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/6.567, allocations: 1.19 MB / 3.222 GB, free: 202 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001248/6.568, allocations: 300.1 kB / 3.222 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/6.569, allocations: 0.5313 MB / 3.223 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/6.569, allocations: 0 / 3.223 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05658/6.625, allocations: 34.92 MB / 3.257 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/6.625, allocations: 281.4 kB / 3.257 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/9.864, allocations: 4 kB / 3.257 GB, free: 166.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)