Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 184.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 93.98 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.594e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8203, allocations: 115.3 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.832, allocations: 2.072 GB / 3.035 GB, free: 47.22 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/6.832, allocations: 96.06 kB / 3.036 GB, free: 47.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8497/7.682, allocations: 57.54 MB / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.893e-06/7.682, allocations: 0 / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.56e-05/7.682, allocations: 25.66 kB / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002494/7.684, allocations: 1.051 MB / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/7.684, allocations: 10.12 kB / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/7.686, allocations: 193.8 kB / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/7.687, allocations: 0.6109 MB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/7.687, allocations: 26.5 kB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/7.688, allocations: 47.81 kB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/7.69, allocations: 0.9986 MB / 3.095 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/7.692, allocations: 0.7227 MB / 3.095 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/7.692, allocations: 4.438 kB / 3.095 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/7.692, allocations: 6.172 kB / 3.095 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/7.692, allocations: 17.91 kB / 3.095 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/7.698, allocations: 2.261 MB / 3.098 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/7.7, allocations: 0.6669 MB / 3.098 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/7.701, allocations: 246.7 kB / 3.098 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/7.701, allocations: 34.47 kB / 3.098 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009445/7.702, allocations: 405.2 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.537e-06/7.702, allocations: 1.531 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.00279/7.705, allocations: 0.6694 MB / 3.099 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/7.705, allocations: 239.7 kB / 3.1 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/7.706, allocations: 0.505 MB / 3.1 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/7.706, allocations: 31.52 kB / 3.1 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/7.707, allocations: 374.1 kB / 3.101 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/7.707, allocations: 243.4 kB / 3.101 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/7.707, allocations: 0 / 3.101 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001479/7.707, allocations: 385.3 kB / 3.101 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/7.708, allocations: 192.2 kB / 3.101 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/7.708, allocations: 301.2 kB / 3.102 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/7.709, allocations: 252.5 kB / 3.102 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/7.709, allocations: 0 / 3.102 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002612/7.712, allocations: 0.6696 MB / 3.103 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/7.712, allocations: 5.344 kB / 3.103 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/7.712, allocations: 1.156 kB / 3.103 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/7.713, allocations: 80.94 kB / 3.103 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/7.714, allocations: 161 kB / 3.103 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/7.717, allocations: 1.451 MB / 3.104 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/7.718, allocations: 63.41 kB / 3.104 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/7.718, allocations: 29.45 kB / 3.104 GB, free: 315.2 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0002711/7.718, allocations: 121.6 kB / 3.104 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002611/7.721, allocations: 0.669 MB / 3.105 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/7.721, allocations: 76.89 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/7.725, allocations: 0.9337 MB / 3.106 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/7.725, allocations: 7.469 kB / 3.106 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/7.725, allocations: 0 / 3.106 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/7.725, allocations: 3.469 kB / 3.106 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/7.73, allocations: 1.717 MB / 3.108 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/7.73, allocations: 0 / 3.108 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/7.731, allocations: 156.1 kB / 3.108 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/7.732, allocations: 81.59 kB / 3.108 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/7.732, allocations: 17.44 kB / 3.108 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/7.734, allocations: 1.482 MB / 3.109 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/7.734, allocations: 1.469 kB / 3.109 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/7.737, allocations: 0.83 MB / 3.11 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008593/7.738, allocations: 286.8 kB / 3.111 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/7.738, allocations: 6.656 kB / 3.111 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/7.74, allocations: 50.62 kB / 3.111 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/7.74, allocations: 59.91 kB / 3.111 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/7.74, allocations: 31.47 kB / 3.111 GB, free: 312.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008637/7.741, allocations: 413.7 kB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/7.741, allocations: 0 / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001723/7.743, allocations: 303.4 kB / 3.111 GB, free: 312.7 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.00545/7.748, allocations: 2.323 MB / 3.114 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002152/7.75, allocations: 0.6615 MB / 3.114 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/7.75, allocations: 0 / 3.114 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/7.751, allocations: 463.9 kB / 3.115 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/7.753, allocations: 220.1 kB / 3.115 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/7.76, allocations: 1.475 MB / 3.116 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/7.761, allocations: 1.022 MB / 3.117 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00164/7.762, allocations: 256.9 kB / 3.118 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/7.763, allocations: 355.6 kB / 3.118 GB, free: 310.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/7.763, allocations: 4 kB / 3.118 GB, free: 310.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/7.871, allocations: 23.08 MB / 3.14 GB, free: 309 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/7.872, allocations: 208 kB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.817/11.69, allocations: 0 / 3.141 GB, free: 308.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)