Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004805/0.004805, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5001, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00492/0.505, allocations: 5.945 MB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1322/0.6373, allocations: 147.7 MB / 1.105 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.6384, allocations: 23.88 kB / 1.105 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.6391, allocations: 186.4 kB / 1.105 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.641, allocations: 0.585 MB / 1.106 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.6433, allocations: 1.199 MB / 1.107 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.6457, allocations: 2.469 MB / 1.11 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.6474, allocations: 1.514 MB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.6484, allocations: 0.7619 MB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009376/0.6494, allocations: 0.9169 MB / 1.113 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.6495, allocations: 64 kB / 1.113 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.6503, allocations: 427.6 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.6506, allocations: 402 kB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.6513, allocations: 0.9527 MB / 1.114 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.6536, allocations: 3.2 MB / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6536, allocations: 0 / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6536, allocations: 0 / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.6536, allocations: 0 / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004413/0.658, allocations: 2.277 MB / 1.12 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6581, allocations: 8.031 kB / 1.12 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.6584, allocations: 316.9 kB / 1.12 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.6732, allocations: 2.296 MB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6747, allocations: 1.274 MB / 1.124 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6749, allocations: 168.5 kB / 1.124 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.6752, allocations: 216 kB / 1.124 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/0.6826, allocations: 3.356 MB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.6827, allocations: 0 / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.6829, allocations: 92 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.683, allocations: 56 kB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.6945, allocations: 4.346 MB / 1.132 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.7073, allocations: 7.372 MB / 1.139 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.7156, allocations: 2.907 MB / 1.142 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003995/0.7196, allocations: 1.493 MB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.7202, allocations: 0.5074 MB / 1.144 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004538/0.7248, allocations: 1.859 MB / 1.145 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 2.906e-06/0.7248, allocations: 4 kB / 1.145 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01363/0.7384, allocations: 4.497 MB / 1.15 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.7385, allocations: 201.9 kB / 1.15 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7395, allocations: 0.9568 MB / 1.151 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.7397, allocations: 61.7 kB / 1.151 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.7402, allocations: 0.7427 MB / 1.152 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005144/0.7407, allocations: 0.6776 MB / 1.152 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.741, allocations: 141.6 kB / 1.153 GB, free: 4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.741, allocations: 305.1 kB / 1.153 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/0.745, allocations: 1.249 MB / 1.154 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.749, allocations: 1.445 MB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/0.7568, allocations: 2.61 MB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7568, allocations: 0 / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009029/0.7658, allocations: 3.097 MB / 1.161 GB, free: 11.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7659, allocations: 8 kB / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7659, allocations: 0 / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/0.7664, allocations: 96.77 kB / 1.161 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/0.7698, allocations: 0.5929 MB / 1.162 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.7716, allocations: 1.528 MB / 1.163 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.7743, allocations: 386 kB / 1.164 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.7745, allocations: 95.89 kB / 1.164 GB, free: 8.395 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007195/0.7752, allocations: 435.7 kB / 1.164 GB, free: 7.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.7755, allocations: 154.1 kB / 1.164 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.786, allocations: 3.751 MB / 1.168 GB, free: 4.035 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.786, allocations: 27.94 kB / 1.168 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7861, allocations: 4 kB / 1.168 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.7861, allocations: 15.89 kB / 1.168 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.7885, allocations: 2.444 MB / 1.17 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7885, allocations: 3.984 kB / 1.17 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/0.7918, allocations: 0.5656 MB / 1.171 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.7923, allocations: 88.78 kB / 1.171 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.7925, allocations: 75.84 kB / 1.171 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.794, allocations: 1.548 MB / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.794, allocations: 0 / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00899/0.803, allocations: 3.242 MB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.8038, allocations: 0.5762 MB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.804, allocations: 48.06 kB / 1.176 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/0.8067, allocations: 293.9 kB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.8069, allocations: 149.8 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/0.8071, allocations: 91.91 kB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007861/0.8079, allocations: 0.6996 MB / 1.178 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8079, allocations: 0 / 1.178 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001266/0.8092, allocations: 0.6426 MB / 1.178 GB, free: 9.289 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/0.8199, allocations: 4.356 MB / 1.182 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008657/0.8285, allocations: 3.155 MB / 1.185 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8286, allocations: 0 / 1.185 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/0.8331, allocations: 1.771 MB / 1.187 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.8345, allocations: 341 kB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/0.8728, allocations: 18.02 MB / 1.205 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/0.8738, allocations: 1.43 MB / 1.207 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002843/0.8766, allocations: 0.5753 MB / 1.207 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.8781, allocations: 0.8779 MB / 1.208 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.8781, allocations: 0 / 1.208 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.753/1.631, allocations: 39.64 MB / 1.247 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.631, allocations: 296.4 kB / 1.247 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/4.977, allocations: 0 / 1.247 GB, free: 2.738 MB / 0.9981 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)