Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.376/2.376, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001525/0.001525, allocations: 180.8 kB / 360.6 MB, free: 7.289 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.999/1.999, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001065/0.001064, allocations: 94.31 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.127e-05, allocations: 4 kB / 0.8508 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7914, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/6.732, allocations: 2.075 GB / 3.039 GB, free: 43.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/6.733, allocations: 90.14 kB / 3.039 GB, free: 42.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/7.764, allocations: 95.62 MB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.345e-06/7.764, allocations: 0 / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001642/7.764, allocations: 46.69 kB / 3.132 GB, free: 314 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.007134/7.772, allocations: 1.851 MB / 3.134 GB, free: 313.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/7.772, allocations: 10.19 kB / 3.134 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02258/7.794, allocations: 1.793 MB / 3.136 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/7.798, allocations: 1.029 MB / 3.137 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/7.798, allocations: 67.34 kB / 3.137 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/7.799, allocations: 105.1 kB / 3.137 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009109/7.808, allocations: 2.773 MB / 3.14 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00769/7.815, allocations: 2.088 MB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/7.816, allocations: 2.906 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/7.816, allocations: 1.031 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/7.816, allocations: 45.44 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/7.843, allocations: 5.935 MB / 3.148 GB, free: 309.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/7.851, allocations: 1.903 MB / 3.149 GB, free: 308.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/7.854, allocations: 0.9821 MB / 3.15 GB, free: 307.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/7.856, allocations: 0.5083 MB / 3.151 GB, free: 307.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005014/7.861, allocations: 1.232 MB / 3.152 GB, free: 306.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 9.849e-06/7.861, allocations: 3 kB / 3.152 GB, free: 306.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.02383/7.885, allocations: 3.382 MB / 3.155 GB, free: 304.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/7.885, allocations: 260.4 kB / 3.156 GB, free: 304.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/7.887, allocations: 0.6493 MB / 3.156 GB, free: 304.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007583/7.887, allocations: 25.7 kB / 3.156 GB, free: 304.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/7.888, allocations: 0.635 MB / 3.157 GB, free: 303.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009641/7.889, allocations: 0.5932 MB / 3.157 GB, free: 303.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/7.889, allocations: 4 kB / 3.157 GB, free: 303.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000122/7.889, allocations: 372.7 kB / 3.158 GB, free: 302.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/7.891, allocations: 0.7452 MB / 3.159 GB, free: 302.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/7.894, allocations: 0.9247 MB / 3.159 GB, free: 301.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/7.91, allocations: 2.211 MB / 3.162 GB, free: 300.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/7.91, allocations: 0 / 3.162 GB, free: 300.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.02144/7.932, allocations: 3.429 MB / 3.165 GB, free: 299.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/7.932, allocations: 3.688 kB / 3.165 GB, free: 299.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/7.932, allocations: 7.375 kB / 3.165 GB, free: 299.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/7.933, allocations: 80.97 kB / 3.165 GB, free: 299.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006921/7.94, allocations: 0.5438 MB / 3.166 GB, free: 299.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/7.942, allocations: 1.463 MB / 3.167 GB, free: 297.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/7.948, allocations: 273.1 kB / 3.167 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006214/7.948, allocations: 82.09 kB / 3.167 GB, free: 297.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0006913/7.949, allocations: 134.7 kB / 3.167 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02088/7.97, allocations: 3.387 MB / 3.171 GB, free: 296 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009183/7.971, allocations: 135.8 kB / 3.171 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/7.995, allocations: 3.975 MB / 3.175 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/7.995, allocations: 26.98 kB / 3.175 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/7.995, allocations: 6.75 kB / 3.175 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-05/7.995, allocations: 7.969 kB / 3.175 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/8.024, allocations: 5.946 MB / 3.181 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/8.024, allocations: 0 / 3.181 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006616/8.03, allocations: 0.5219 MB / 3.181 GB, free: 289.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008861/8.031, allocations: 90.73 kB / 3.181 GB, free: 289.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006957/8.032, allocations: 54.83 kB / 3.181 GB, free: 289.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/8.034, allocations: 1.469 MB / 3.183 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/8.034, allocations: 6.969 kB / 3.183 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/8.056, allocations: 3.582 MB / 3.186 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/8.058, allocations: 0.522 MB / 3.187 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/8.059, allocations: 3.953 kB / 3.187 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005313/8.064, allocations: 207.8 kB / 3.187 GB, free: 283.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/8.065, allocations: 129.8 kB / 3.187 GB, free: 283 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004323/8.065, allocations: 79.92 kB / 3.187 GB, free: 282.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001131/8.066, allocations: 0.546 MB / 3.188 GB, free: 282.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/8.066, allocations: 0 / 3.188 GB, free: 282.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00325/8.07, allocations: 0.5411 MB / 3.188 GB, free: 281.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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.02392/8.094, allocations: 5.1 MB / 3.193 GB, free: 277.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006079/8.1, allocations: 2.07 MB / 3.195 GB, free: 275 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/8.1, allocations: 2.531 kB / 3.195 GB, free: 275 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003142/8.103, allocations: 1.21 MB / 3.196 GB, free: 273.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/8.106, allocations: 233.4 kB / 3.197 GB, free: 273.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/8.117, allocations: 2.939 MB / 3.199 GB, free: 270.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/8.118, allocations: 1.349 MB / 3.201 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005702/8.124, allocations: 0.5411 MB / 3.201 GB, free: 268.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/8.126, allocations: 0.7473 MB / 3.202 GB, free: 268 MB / 0.948 GB Notification: Performance of SimCode: time 1.373e-06/8.126, allocations: 0 / 3.202 GB, free: 268 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1518/8.278, allocations: 40.14 MB / 3.241 GB, free: 228.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/8.278, allocations: 192.1 kB / 3.241 GB, free: 227.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.384/12.66, allocations: 0 / 3.241 GB, free: 227.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)