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.001082/0.001082, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002047/0.002047, allocations: 191.8 kB / 16.25 MB, free: 6.617 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.05 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009644/0.3035, allocations: 8.349 MB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.4802, allocations: 149.6 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.4819, allocations: 19.94 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4832, allocations: 238 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.4865, allocations: 0.7491 MB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.4898, allocations: 1.254 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00404/0.4938, allocations: 2.982 MB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.4963, allocations: 1.484 MB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.4982, allocations: 1.191 MB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.5006, allocations: 1.342 MB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.5022, allocations: 324 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.5051, allocations: 0.6754 MB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.5064, allocations: 0.6971 MB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.509, allocations: 1.338 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.5141, allocations: 3.591 MB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.5141, allocations: 4 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5141, allocations: 0 / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001421/0.5142, allocations: 0 / 1.237 GB, free: 12.33 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.008942/0.5232, allocations: 2.832 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.5233, allocations: 8.031 kB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.54, allocations: 2.108 MB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.5438, allocations: 1.27 MB / 1.243 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.5442, allocations: 168.5 kB / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.5455, allocations: 224 kB / 1.244 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.5585, allocations: 3.274 MB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/0.5586, allocations: 0 / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.559, allocations: 96 kB / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.5591, allocations: 56 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.638/1.197, allocations: 4.199 MB / 1.251 GB, free: 180.9 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.02129/1.218, allocations: 8.096 MB / 1.259 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/1.228, allocations: 2.88 MB / 1.262 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.233, allocations: 1.493 MB / 1.263 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007937/1.234, allocations: 0.5044 MB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006067/1.24, allocations: 1.844 MB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 7.224e-06/1.24, allocations: 0 / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01667/1.256, allocations: 4.47 MB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.256, allocations: 204.8 kB / 1.27 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.258, allocations: 0.9467 MB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003676/1.259, allocations: 68.22 kB / 1.271 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/1.259, allocations: 0.7395 MB / 1.272 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000902/1.26, allocations: 0.681 MB / 1.273 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/1.262, allocations: 399.8 kB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/1.262, allocations: 301.8 kB / 1.273 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.266, allocations: 1.258 MB / 1.275 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/1.271, allocations: 1.434 MB / 1.276 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/1.28, allocations: 2.614 MB / 1.279 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.28, allocations: 8.688 kB / 1.279 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01117/1.291, allocations: 3.12 MB / 1.282 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/1.291, allocations: 8.781 kB / 1.282 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.291, allocations: 2.5 kB / 1.282 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/1.292, allocations: 88.06 kB / 1.282 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.295, allocations: 0.6028 MB / 1.282 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/1.298, allocations: 1.644 MB / 1.284 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.301, allocations: 372.1 kB / 1.284 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/1.302, allocations: 100.9 kB / 1.284 GB, free: 167.3 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.00133/1.303, allocations: 449.1 kB / 1.285 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/1.304, allocations: 160.2 kB / 1.285 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.316, allocations: 3.71 MB / 1.289 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.316, allocations: 26.56 kB / 1.289 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.316, allocations: 0 / 1.289 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.316, allocations: 11.95 kB / 1.289 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.319, allocations: 2.469 MB / 1.291 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.319, allocations: 1.219 kB / 1.291 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003632/1.323, allocations: 0.5619 MB / 1.292 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/1.323, allocations: 77.44 kB / 1.292 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004047/1.324, allocations: 77.78 kB / 1.292 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.326, allocations: 1.66 MB / 1.293 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.326, allocations: 0 / 1.293 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.337, allocations: 3.216 MB / 1.296 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.338, allocations: 0.542 MB / 1.297 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006667/1.339, allocations: 51.19 kB / 1.297 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/1.342, allocations: 284.6 kB / 1.297 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.342, allocations: 147.9 kB / 1.297 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/1.342, allocations: 94.97 kB / 1.298 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001218/1.344, allocations: 0.6974 MB / 1.298 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.344, allocations: 3.938 kB / 1.298 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002061/1.346, allocations: 0.6809 MB / 1.299 GB, free: 158.3 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.001638/1.347, allocations: 0.6573 MB / 1.3 GB, free: 158 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.361, allocations: 3.671 MB / 1.303 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.361, allocations: 0 / 1.303 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/1.366, allocations: 1.763 MB / 1.305 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.368, allocations: 404.4 kB / 1.305 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/1.377, allocations: 5.076 MB / 1.31 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.378, allocations: 1.426 MB / 1.312 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003888/1.382, allocations: 0.5795 MB / 1.312 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.383, allocations: 239.2 kB / 1.312 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.383, allocations: 0 / 1.312 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04606/1.429, allocations: 31.26 MB / 1.343 GB, free: 116.8 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)