Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.471/2.471, 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.001451/0.001451, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, 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.001138/0.001137, allocations: 95.39 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.16e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8113, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.924, allocations: 2.071 GB / 3.035 GB, free: 47.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/6.924, allocations: 87.77 kB / 3.035 GB, free: 47.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9393/7.864, allocations: 61.71 MB / 3.095 GB, free: 319.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/7.864, allocations: 0 / 3.095 GB, free: 319.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.53e-05/7.864, allocations: 24.47 kB / 3.095 GB, free: 319.4 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002716/7.867, allocations: 1.038 MB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/7.867, allocations: 10.81 kB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/7.869, allocations: 202.9 kB / 3.096 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/7.87, allocations: 0.6127 MB / 3.097 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/7.871, allocations: 25.33 kB / 3.097 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/7.871, allocations: 47.19 kB / 3.097 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002579/7.873, allocations: 0.9833 MB / 3.098 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/7.875, allocations: 0.7209 MB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/7.875, allocations: 1.625 kB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/7.875, allocations: 1.156 kB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/7.875, allocations: 22.62 kB / 3.099 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006465/7.882, allocations: 2.263 MB / 3.101 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/7.885, allocations: 0.7273 MB / 3.102 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/7.886, allocations: 255 kB / 3.102 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/7.886, allocations: 28.56 kB / 3.102 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/7.887, allocations: 403.7 kB / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.737e-06/7.887, allocations: 0 / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002816/7.89, allocations: 0.6592 MB / 3.103 GB, free: 317.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/7.89, allocations: 246.3 kB / 3.103 GB, free: 317.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/7.891, allocations: 0.4907 MB / 3.104 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/7.891, allocations: 25.7 kB / 3.104 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/7.892, allocations: 374.9 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/7.892, allocations: 228.8 kB / 3.104 GB, free: 316.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/7.892, allocations: 0 / 3.104 GB, free: 316.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001789/7.892, allocations: 378.2 kB / 3.104 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/7.893, allocations: 200.5 kB / 3.105 GB, free: 316.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/7.893, allocations: 295.6 kB / 3.105 GB, free: 316.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/7.894, allocations: 243.2 kB / 3.105 GB, free: 316.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/7.894, allocations: 0 / 3.105 GB, free: 316.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002689/7.897, allocations: 0.6652 MB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/7.897, allocations: 5.281 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/7.897, allocations: 1.375 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/7.898, allocations: 80.14 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/7.899, allocations: 142.2 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/7.902, allocations: 1.472 MB / 3.107 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/7.903, allocations: 63.33 kB / 3.108 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/7.904, allocations: 28.59 kB / 3.108 GB, free: 315 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 (75): * Single equations (assignments): 74 * 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.0002849/7.904, allocations: 122.6 kB / 3.108 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002741/7.907, allocations: 0.6698 MB / 3.108 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/7.907, allocations: 78.28 kB / 3.108 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/7.911, allocations: 0.9216 MB / 3.109 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/7.911, allocations: 9.031 kB / 3.109 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.911, allocations: 3.719 kB / 3.109 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/7.911, allocations: 5.359 kB / 3.109 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/7.913, allocations: 0.755 MB / 3.11 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/7.913, allocations: 1.188 kB / 3.11 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/7.915, allocations: 144.3 kB / 3.11 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009209/7.916, allocations: 90.91 kB / 3.11 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/7.916, allocations: 16.97 kB / 3.11 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/7.918, allocations: 1.491 MB / 3.112 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/7.918, allocations: 0 / 3.112 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/7.921, allocations: 0.7689 MB / 3.113 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/7.922, allocations: 283.2 kB / 3.113 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/7.922, allocations: 2.312 kB / 3.113 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/7.924, allocations: 52.98 kB / 3.113 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/7.924, allocations: 66.48 kB / 3.113 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/7.924, allocations: 30.72 kB / 3.113 GB, free: 313 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008192/7.925, allocations: 401.3 kB / 3.113 GB, free: 312.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/7.925, allocations: 1.188 kB / 3.113 GB, free: 312.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001707/7.926, allocations: 300.5 kB / 3.114 GB, free: 312.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.005689/7.932, allocations: 2.254 MB / 3.116 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002123/7.934, allocations: 0.6574 MB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/7.934, allocations: 1.281 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/7.936, allocations: 462.5 kB / 3.117 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/7.938, allocations: 215.4 kB / 3.117 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/7.945, allocations: 1.459 MB / 3.119 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/7.946, allocations: 1.018 MB / 3.12 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001781/7.948, allocations: 258.2 kB / 3.12 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/7.949, allocations: 340.5 kB / 3.12 GB, free: 310.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/7.949, allocations: 4 kB / 3.12 GB, free: 310.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/8.051, allocations: 23.02 MB / 3.143 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/8.052, allocations: 210.5 kB / 3.143 GB, free: 308.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/11.96, allocations: 4 kB / 3.143 GB, free: 308.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)