Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.461/1.461, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001212/0.001212, allocations: 175.9 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001163/0.001163, allocations: 84.44 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 8.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.154/6.432, allocations: 2.191 GB / 3.091 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000461/6.433, allocations: 98.2 kB / 3.091 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1541/6.587, allocations: 66.56 MB / 3.156 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.426e-06/6.587, allocations: 0 / 3.156 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.287e-05/6.587, allocations: 27.09 kB / 3.156 GB, free: 235.6 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002398/6.589, allocations: 1.207 MB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/6.589, allocations: 11.75 kB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/6.59, allocations: 140.6 kB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/6.591, allocations: 211.4 kB / 3.157 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/6.592, allocations: 0.6265 MB / 3.158 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/6.592, allocations: 65.38 kB / 3.158 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/6.592, allocations: 82.56 kB / 3.158 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/6.593, allocations: 0.9249 MB / 3.159 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/6.593, allocations: 0 / 3.159 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/6.593, allocations: 46.45 kB / 3.159 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/6.593, allocations: 19.38 kB / 3.159 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/6.595, allocations: 1.12 MB / 3.16 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/6.599, allocations: 2.552 MB / 3.163 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/6.6, allocations: 0.7517 MB / 3.163 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/6.601, allocations: 472.2 kB / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/6.602, allocations: 450.8 kB / 3.164 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.985e-06/6.602, allocations: 0 / 3.164 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.003139/6.605, allocations: 1.129 MB / 3.165 GB, free: 231 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/6.605, allocations: 247.4 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/6.606, allocations: 0.5786 MB / 3.166 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-05/6.606, allocations: 44.59 kB / 3.166 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/6.606, allocations: 388 kB / 3.167 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/6.607, allocations: 248.7 kB / 3.167 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/6.607, allocations: 11.22 kB / 3.167 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001252/6.607, allocations: 383 kB / 3.167 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/6.607, allocations: 224.8 kB / 3.167 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/6.608, allocations: 345.5 kB / 3.168 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/6.608, allocations: 266.5 kB / 3.168 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.608, allocations: 0 / 3.168 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001683/6.61, allocations: 0.753 MB / 3.169 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/6.61, allocations: 3.906 kB / 3.169 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/6.61, allocations: 3.906 kB / 3.169 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/6.611, allocations: 87.81 kB / 3.169 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/6.611, allocations: 149.1 kB / 3.169 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/6.613, allocations: 1.515 MB / 3.171 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/6.614, allocations: 82.28 kB / 3.171 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/6.614, allocations: 35.03 kB / 3.171 GB, free: 227.8 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 (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.0006161/6.614, allocations: 253.2 kB / 3.171 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/6.615, allocations: 74.38 kB / 3.171 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/6.617, allocations: 1.039 MB / 3.172 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/6.617, allocations: 7.875 kB / 3.172 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/6.617, allocations: 3.984 kB / 3.172 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/6.617, allocations: 3.984 kB / 3.172 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/6.618, allocations: 0.9032 MB / 3.173 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/6.618, allocations: 3.906 kB / 3.173 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/6.619, allocations: 142.1 kB / 3.173 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/6.619, allocations: 84.3 kB / 3.173 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/6.619, allocations: 24.17 kB / 3.173 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/6.621, allocations: 1.557 MB / 3.175 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/6.621, allocations: 19.8 kB / 3.175 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/6.623, allocations: 0.8546 MB / 3.175 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/6.623, allocations: 291.3 kB / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/6.623, allocations: 18.77 kB / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/6.624, allocations: 70.2 kB / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/6.624, allocations: 59.91 kB / 3.176 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/6.624, allocations: 30.95 kB / 3.176 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006637/6.625, allocations: 487.6 kB / 3.176 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.11e-07/6.625, allocations: 0 / 3.176 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001341/6.626, allocations: 359.7 kB / 3.177 GB, free: 224.7 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.004311/6.63, allocations: 2.356 MB / 3.179 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001684/6.632, allocations: 0.7419 MB / 3.18 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/6.632, allocations: 3.906 kB / 3.18 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/6.633, allocations: 0.4921 MB / 3.18 GB, free: 223 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/6.634, allocations: 236.9 kB / 3.18 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009159/6.643, allocations: 5.111 MB / 3.185 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/6.644, allocations: 1.038 MB / 3.186 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001002/6.645, allocations: 263 kB / 3.187 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/6.645, allocations: 377.1 kB / 3.187 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.572e-06/6.645, allocations: 0 / 3.187 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/6.704, allocations: 29.37 MB / 3.216 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/6.704, allocations: 296.4 kB / 3.216 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/9.849, allocations: 0 / 3.216 GB, free: 202.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)