Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009991/0.0009986, allocations: 182.6 kB / 316.3 MB, free: 3.258 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.58/1.58, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008512/0.0008515, allocations: 92.41 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.048e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/5.957, allocations: 2.19 GB / 3.076 GB, free: 216 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.957, allocations: 100.3 kB / 3.076 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/6.089, allocations: 61.33 MB / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/6.089, allocations: 0 / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001149/6.089, allocations: 27.94 kB / 3.136 GB, free: 154.2 MB / 0.8698 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.002099/6.091, allocations: 1.035 MB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/6.091, allocations: 12.03 kB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/6.093, allocations: 202.5 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/6.094, allocations: 0.5998 MB / 3.137 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/6.094, allocations: 32 kB / 3.138 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/6.094, allocations: 51.88 kB / 3.138 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/6.095, allocations: 0.9796 MB / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/6.096, allocations: 0.7193 MB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/6.096, allocations: 7.953 kB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/6.096, allocations: 3.984 kB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/6.096, allocations: 20 kB / 3.139 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/6.099, allocations: 2.263 MB / 3.141 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/6.101, allocations: 0.7325 MB / 3.142 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/6.101, allocations: 247.2 kB / 3.142 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/6.101, allocations: 32.8 kB / 3.142 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/6.102, allocations: 408.8 kB / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/6.102, allocations: 0 / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001342/6.103, allocations: 0.6603 MB / 3.143 GB, free: 146 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/6.103, allocations: 248 kB / 3.144 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/6.104, allocations: 498.3 kB / 3.144 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/6.104, allocations: 29.7 kB / 3.144 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/6.104, allocations: 376.2 kB / 3.145 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/6.104, allocations: 232.5 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/6.104, allocations: 0 / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/6.104, allocations: 374.8 kB / 3.145 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/6.105, allocations: 193.5 kB / 3.145 GB, free: 144 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/6.105, allocations: 295.5 kB / 3.146 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/6.105, allocations: 248.4 kB / 3.146 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/6.105, allocations: 0 / 3.146 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001201/6.106, allocations: 0.6603 MB / 3.147 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/6.106, allocations: 13.34 kB / 3.147 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/6.106, allocations: 0 / 3.147 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/6.107, allocations: 80.84 kB / 3.147 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/6.107, allocations: 139.8 kB / 3.147 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/6.109, allocations: 1.469 MB / 3.148 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/6.109, allocations: 63.5 kB / 3.148 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/6.11, allocations: 36.03 kB / 3.148 GB, free: 140.9 MB / 0.8698 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.0001431/6.11, allocations: 112.9 kB / 3.148 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/6.111, allocations: 0.6681 MB / 3.149 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/6.111, allocations: 71.14 kB / 3.149 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/6.113, allocations: 0.9299 MB / 3.15 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/6.113, allocations: 15.89 kB / 3.15 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/6.113, allocations: 0 / 3.15 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/6.113, allocations: 3.984 kB / 3.15 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/6.113, allocations: 0.7634 MB / 3.151 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/6.113, allocations: 0 / 3.151 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/6.114, allocations: 143.8 kB / 3.151 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/6.114, allocations: 88.77 kB / 3.151 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/6.114, allocations: 15.98 kB / 3.151 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/6.116, allocations: 1.484 MB / 3.152 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/6.116, allocations: 3.953 kB / 3.152 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/6.117, allocations: 0.7661 MB / 3.153 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/6.117, allocations: 283.8 kB / 3.153 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/6.117, allocations: 4 kB / 3.153 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/6.118, allocations: 52.02 kB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/6.118, allocations: 64.69 kB / 3.154 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/6.118, allocations: 27.98 kB / 3.154 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003903/6.118, allocations: 398.9 kB / 3.154 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/6.118, allocations: 3.938 kB / 3.154 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009436/6.119, allocations: 311.1 kB / 3.154 GB, free: 134.4 MB / 0.8698 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.003043/6.122, allocations: 2.258 MB / 3.157 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001043/6.124, allocations: 0.6473 MB / 3.157 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/6.124, allocations: 0 / 3.157 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/6.124, allocations: 456.7 kB / 3.158 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/6.125, allocations: 220.2 kB / 3.158 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/6.128, allocations: 1.455 MB / 3.159 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/6.129, allocations: 1.023 MB / 3.16 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000757/6.13, allocations: 253.8 kB / 3.16 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/6.13, allocations: 343.3 kB / 3.161 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/6.13, allocations: 0 / 3.161 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/6.173, allocations: 23.04 MB / 3.183 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/6.174, allocations: 218.9 kB / 3.183 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/8.811, allocations: 0 / 3.183 GB, free: 104.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)