Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001869/0.001869, allocations: 191.3 kB / 16.13 MB, free: 6.664 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 60.81 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3585, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009409/0.368, allocations: 8.36 MB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.5381, allocations: 149.5 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.5412, allocations: 23.88 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.5429, allocations: 230 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.5467, allocations: 0.722 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.5498, allocations: 1.229 MB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.5533, allocations: 2.779 MB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.5552, allocations: 1.445 MB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.5568, allocations: 1.012 MB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.5581, allocations: 1.229 MB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.5584, allocations: 156 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.5595, allocations: 0.5152 MB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.56, allocations: 0.5292 MB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.561, allocations: 1.181 MB / 1.232 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.5641, allocations: 3.454 MB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5642, allocations: 0 / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.995e-06/0.5642, allocations: 0 / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.4e-05/0.5642, allocations: 3.938 kB / 1.236 GB, free: 13.9 MB / 0.9981 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.006051/0.5703, allocations: 2.827 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5703, allocations: 8.031 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.5861, allocations: 2.108 MB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.5888, allocations: 1.266 MB / 1.242 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5889, allocations: 168.5 kB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004708/0.5894, allocations: 220 kB / 1.242 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/0.598, allocations: 3.278 MB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.5981, allocations: 3.938 kB / 1.245 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.5984, allocations: 95.98 kB / 1.246 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.5984, allocations: 56 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6779/1.276, allocations: 4.192 MB / 1.25 GB, free: 180.8 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/1.295, allocations: 8.099 MB / 1.258 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009105/1.304, allocations: 2.882 MB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/1.308, allocations: 1.493 MB / 1.262 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/1.309, allocations: 0.5002 MB / 1.262 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005122/1.314, allocations: 1.848 MB / 1.264 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 5.61e-06/1.314, allocations: 0 / 1.264 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01527/1.329, allocations: 4.468 MB / 1.269 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.329, allocations: 208.2 kB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/1.331, allocations: 0.9467 MB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/1.332, allocations: 63.78 kB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/1.332, allocations: 0.7455 MB / 1.27 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/1.333, allocations: 0.6835 MB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008522/1.334, allocations: 392.1 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/1.334, allocations: 302.6 kB / 1.272 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004723/1.339, allocations: 1.262 MB / 1.273 GB, free: 172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.344, allocations: 1.438 MB / 1.274 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008493/1.352, allocations: 2.608 MB / 1.277 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.352, allocations: 5.469 kB / 1.277 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01179/1.364, allocations: 3.123 MB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.364, allocations: 5.062 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.364, allocations: 2.219 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/1.365, allocations: 89.41 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/1.368, allocations: 0.6086 MB / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.37, allocations: 1.543 MB / 1.282 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.374, allocations: 370.1 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.374, allocations: 100.7 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (239): * Single equations (assignments): 238 * 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.001276/1.375, allocations: 442.9 kB / 1.283 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/1.376, allocations: 156.8 kB / 1.283 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.387, allocations: 3.713 MB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/1.387, allocations: 22.53 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.387, allocations: 4.375 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.387, allocations: 7.969 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/1.391, allocations: 2.472 MB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.391, allocations: 0 / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00369/1.395, allocations: 0.5582 MB / 1.29 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/1.395, allocations: 88.27 kB / 1.29 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.396, allocations: 77.25 kB / 1.29 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/1.397, allocations: 1.547 MB / 1.292 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.397, allocations: 0 / 1.292 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.407, allocations: 3.211 MB / 1.295 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.408, allocations: 0.543 MB / 1.295 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.409, allocations: 56.89 kB / 1.295 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.412, allocations: 280 kB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.412, allocations: 157.7 kB / 1.296 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.413, allocations: 93.41 kB / 1.296 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001097/1.414, allocations: 0.6945 MB / 1.296 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.414, allocations: 0.9688 kB / 1.296 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002138/1.416, allocations: 0.6829 MB / 1.297 GB, free: 159.2 MB / 0.9981 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.001564/1.417, allocations: 0.665 MB / 1.298 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00928/1.427, allocations: 3.154 MB / 1.301 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.427, allocations: 0 / 1.301 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004395/1.431, allocations: 1.761 MB / 1.303 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.433, allocations: 363 kB / 1.303 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/1.441, allocations: 5.078 MB / 1.308 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/1.442, allocations: 1.434 MB / 1.309 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003356/1.445, allocations: 0.5755 MB / 1.31 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.446, allocations: 239.2 kB / 1.31 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.446, allocations: 0 / 1.31 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0418/1.488, allocations: 30.12 MB / 1.339 GB, free: 120.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)