Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001474/0.001474, allocations: 180.2 kB / 371.8 MB, free: 10.26 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.709/1.709, allocations: 205.4 MB / 0.6305 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 95.41 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004936, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.414/5.668, allocations: 2.072 GB / 3.052 GB, free: 244.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/5.668, allocations: 95.94 kB / 3.052 GB, free: 244 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1365/5.805, allocations: 62.83 MB / 3.113 GB, free: 180.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.246e-06/5.805, allocations: 0 / 3.113 GB, free: 180.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000112/5.805, allocations: 23.94 kB / 3.113 GB, free: 180.9 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.002718/5.808, allocations: 1.16 MB / 3.114 GB, free: 179.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/5.808, allocations: 12.02 kB / 3.114 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/5.808, allocations: 134.8 kB / 3.114 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/5.809, allocations: 202.5 kB / 3.115 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/5.81, allocations: 0.6114 MB / 3.115 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/5.811, allocations: 58 kB / 3.115 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/5.811, allocations: 79.94 kB / 3.115 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/5.812, allocations: 0.8559 MB / 3.116 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/5.812, allocations: 0 / 3.116 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/5.812, allocations: 40 kB / 3.116 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/5.812, allocations: 27.94 kB / 3.116 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/5.814, allocations: 1.077 MB / 3.117 GB, free: 176.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/5.82, allocations: 2.414 MB / 3.12 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/5.824, allocations: 0.8312 MB / 3.12 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/5.824, allocations: 36.62 kB / 3.12 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/5.825, allocations: 448.5 kB / 3.121 GB, free: 172.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.979e-06/5.825, allocations: 0 / 3.121 GB, free: 172.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.004578/5.83, allocations: 1.144 MB / 3.122 GB, free: 171.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/5.83, allocations: 244 kB / 3.122 GB, free: 171.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/5.831, allocations: 0.5657 MB / 3.123 GB, free: 170.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/5.831, allocations: 41.69 kB / 3.123 GB, free: 170.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/5.832, allocations: 360.4 kB / 3.123 GB, free: 170.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/5.832, allocations: 252.5 kB / 3.123 GB, free: 170 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/5.832, allocations: 8 kB / 3.123 GB, free: 170 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001793/5.832, allocations: 374.8 kB / 3.124 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/5.833, allocations: 237.2 kB / 3.124 GB, free: 169.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/5.834, allocations: 343.6 kB / 3.124 GB, free: 169 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/5.835, allocations: 275.1 kB / 3.125 GB, free: 168.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/5.835, allocations: 4 kB / 3.125 GB, free: 168.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002637/5.837, allocations: 0.751 MB / 3.125 GB, free: 168 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/5.837, allocations: 5.875 kB / 3.125 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/5.837, allocations: 0 / 3.125 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/5.838, allocations: 88.77 kB / 3.125 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/5.839, allocations: 139.8 kB / 3.125 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/5.842, allocations: 1.547 MB / 3.127 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/5.843, allocations: 87.48 kB / 3.127 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/5.843, allocations: 27.92 kB / 3.127 GB, free: 165.9 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 () * Number of clocked 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.0007052/5.844, allocations: 249.7 kB / 3.127 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/5.844, allocations: 75.11 kB / 3.127 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/5.848, allocations: 1.056 MB / 3.128 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/5.848, allocations: 8 kB / 3.128 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/5.848, allocations: 0 / 3.128 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/5.848, allocations: 3.984 kB / 3.128 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/5.849, allocations: 0.8837 MB / 3.129 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/5.849, allocations: 0 / 3.129 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/5.85, allocations: 151.8 kB / 3.129 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/5.851, allocations: 80.78 kB / 3.13 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/5.851, allocations: 19.98 kB / 3.13 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/5.854, allocations: 1.575 MB / 3.131 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/5.854, allocations: 0 / 3.131 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/5.856, allocations: 0.8772 MB / 3.132 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/5.857, allocations: 287.7 kB / 3.132 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/5.857, allocations: 16 kB / 3.132 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/5.858, allocations: 75.89 kB / 3.132 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/5.859, allocations: 56.91 kB / 3.132 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/5.859, allocations: 36.05 kB / 3.132 GB, free: 160.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001093/5.86, allocations: 479 kB / 3.133 GB, free: 159.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.733e-06/5.86, allocations: 0 / 3.133 GB, free: 159.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001776/5.862, allocations: 331.1 kB / 3.133 GB, free: 159.4 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) * Number of clocked states: 0 () * 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.005227/5.867, allocations: 2.343 MB / 3.135 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00199/5.869, allocations: 0.7594 MB / 3.136 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/5.869, allocations: 0 / 3.136 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/5.87, allocations: 0.5002 MB / 3.137 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/5.871, allocations: 242.3 kB / 3.137 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/5.883, allocations: 5.003 MB / 3.142 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/5.883, allocations: 1.019 MB / 3.143 GB, free: 149.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001301/5.884, allocations: 250 kB / 3.143 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/5.885, allocations: 347.3 kB / 3.143 GB, free: 149 MB / 0.948 GB Notification: Performance of SimCode: time 2.044e-06/5.885, allocations: 4 kB / 3.143 GB, free: 149 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/5.948, allocations: 29.08 MB / 3.172 GB, free: 120.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/5.948, allocations: 293.7 kB / 3.172 GB, free: 119.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/9.225, allocations: 0 / 3.172 GB, free: 119.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)