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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006716/0.006716, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001643/0.001643, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 62.66 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2142, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007104/0.2213, allocations: 6.46 MB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.3606, allocations: 151.6 MB / 1.242 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.3614, allocations: 19.94 kB / 1.242 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.362, allocations: 265.2 kB / 1.242 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.3637, allocations: 0.6925 MB / 1.243 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.3661, allocations: 1.362 MB / 1.244 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.3684, allocations: 2.672 MB / 1.247 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.37, allocations: 1.588 MB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.371, allocations: 1.129 MB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.3722, allocations: 1.299 MB / 1.251 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.3725, allocations: 324 kB / 1.251 GB, free: 9.883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.3734, allocations: 0.7066 MB / 1.252 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.3739, allocations: 0.6933 MB / 1.252 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008827/0.3748, allocations: 1.275 MB / 1.254 GB, free: 7.199 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.3775, allocations: 3.564 MB / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3775, allocations: 0 / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3775, allocations: 0 / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.3776, allocations: 0 / 1.257 GB, free: 3.625 MB / 1.014 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.004945/0.3825, allocations: 2.784 MB / 1.26 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3825, allocations: 12.03 kB / 1.26 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/0.3829, allocations: 316.8 kB / 1.26 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3973/0.7802, allocations: 2.105 MB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.7822, allocations: 1.287 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.7824, allocations: 171.5 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.7827, allocations: 216.8 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007447/0.7902, allocations: 3.281 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.7902, allocations: 3.938 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.7905, allocations: 96.98 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.7906, allocations: 55.09 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.8026, allocations: 4.201 MB / 1.271 GB, free: 170 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.8152, allocations: 7.227 MB / 1.278 GB, free: 166.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00787/0.8231, allocations: 2.881 MB / 1.281 GB, free: 165.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003807/0.8269, allocations: 1.491 MB / 1.283 GB, free: 165.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.8275, allocations: 0.5026 MB / 1.283 GB, free: 164.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004289/0.8318, allocations: 1.856 MB / 1.285 GB, free: 164 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.838e-06/0.8318, allocations: 4 kB / 1.285 GB, free: 164 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01276/0.8446, allocations: 4.456 MB / 1.289 GB, free: 162 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.8446, allocations: 208.3 kB / 1.289 GB, free: 161.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.8457, allocations: 0.946 MB / 1.29 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.8459, allocations: 63.89 kB / 1.29 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.8463, allocations: 0.743 MB / 1.291 GB, free: 160.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.8467, allocations: 0.6789 MB / 1.292 GB, free: 159.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005969/0.8473, allocations: 377 kB / 1.292 GB, free: 159.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.8473, allocations: 306.1 kB / 1.292 GB, free: 159.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/0.851, allocations: 1.237 MB / 1.294 GB, free: 158.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.8548, allocations: 1.43 MB / 1.295 GB, free: 158 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007426/0.8622, allocations: 2.585 MB / 1.298 GB, free: 156.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.8622, allocations: 0 / 1.298 GB, free: 156.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008962/0.8712, allocations: 3.065 MB / 1.301 GB, free: 155.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8712, allocations: 5.625 kB / 1.301 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8712, allocations: 2.25 kB / 1.301 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.8718, allocations: 93.67 kB / 1.301 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/0.8751, allocations: 0.5834 MB / 1.301 GB, free: 154.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1444/1.02, allocations: 1.639 MB / 1.303 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/1.023, allocations: 367 kB / 1.303 GB, free: 153.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/1.023, allocations: 91.59 kB / 1.303 GB, free: 153 MB / 1.014 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.0009196/1.024, allocations: 443.3 kB / 1.304 GB, free: 152.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/1.024, allocations: 156.2 kB / 1.304 GB, free: 152.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009841/1.034, allocations: 3.709 MB / 1.307 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.034, allocations: 23.47 kB / 1.307 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.034, allocations: 0 / 1.307 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.034, allocations: 16.77 kB / 1.307 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/1.037, allocations: 2.463 MB / 1.31 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.037, allocations: 0 / 1.31 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/1.04, allocations: 0.5578 MB / 1.31 GB, free: 148.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/1.04, allocations: 76.78 kB / 1.311 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.041, allocations: 75.91 kB / 1.311 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.042, allocations: 1.662 MB / 1.312 GB, free: 146.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.042, allocations: 0 / 1.312 GB, free: 146.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008674/1.051, allocations: 3.218 MB / 1.315 GB, free: 143.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008422/1.051, allocations: 0.5412 MB / 1.316 GB, free: 142.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/1.052, allocations: 55.64 kB / 1.316 GB, free: 142.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/1.054, allocations: 271.7 kB / 1.316 GB, free: 142.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.055, allocations: 149.8 kB / 1.316 GB, free: 142 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.055, allocations: 95.91 kB / 1.316 GB, free: 141.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007038/1.056, allocations: 0.6996 MB / 1.317 GB, free: 141.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 0 / 1.317 GB, free: 141.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001312/1.057, allocations: 0.6373 MB / 1.318 GB, free: 140.6 MB / 1.014 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.009814/1.067, allocations: 4.322 MB / 1.322 GB, free: 136.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008142/1.075, allocations: 3.124 MB / 1.325 GB, free: 133.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.075, allocations: 4.062 kB / 1.325 GB, free: 133.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004135/1.079, allocations: 1.755 MB / 1.327 GB, free: 131.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.08, allocations: 368 kB / 1.327 GB, free: 131.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03271/1.113, allocations: 16.02 MB / 1.343 GB, free: 115 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/1.114, allocations: 1.423 MB / 1.344 GB, free: 113.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002391/1.116, allocations: 0.5791 MB / 1.345 GB, free: 113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.118, allocations: 0.8818 MB / 1.346 GB, free: 112.1 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.118, allocations: 0 / 1.346 GB, free: 112.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.519/5.637, allocations: 42.09 MB / 1.387 GB, free: 70.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/19.35, allocations: 3.812 kB / 1.387 GB, free: 70.27 MB / 1.014 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)