Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001131/0.001131, 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.00122/0.00122, allocations: 199.7 kB / 16.14 MB, free: 6.656 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.16 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3725, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01044/0.383, allocations: 8.357 MB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5604, allocations: 149.5 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.5625, allocations: 23.94 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5636, allocations: 233.9 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.5662, allocations: 0.7258 MB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.5693, allocations: 1.227 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.5726, allocations: 2.775 MB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.5745, allocations: 1.441 MB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.576, allocations: 1.02 MB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5774, allocations: 1.225 MB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.5778, allocations: 156 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.5791, allocations: 0.5114 MB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.5796, allocations: 0.5408 MB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.5811, allocations: 1.177 MB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.5851, allocations: 3.454 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5852, allocations: 4 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5852, allocations: 3.938 kB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.5852, allocations: 0 / 1.236 GB, free: 13.87 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.006862/0.5921, allocations: 2.823 MB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5922, allocations: 8.031 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.6086, allocations: 2.104 MB / 1.241 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.6117, allocations: 1.27 MB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.6118, allocations: 168.5 kB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/0.6123, allocations: 220 kB / 1.242 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009421/0.6217, allocations: 3.274 MB / 1.245 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.6218, allocations: 0 / 1.245 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.6221, allocations: 96 kB / 1.246 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.6221, allocations: 56 kB / 1.246 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6122/1.234, allocations: 4.196 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.02003/1.254, allocations: 8.1 MB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009127/1.264, allocations: 2.874 MB / 1.26 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/1.268, allocations: 1.491 MB / 1.262 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/1.269, allocations: 0.5078 MB / 1.262 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005154/1.274, allocations: 1.848 MB / 1.264 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 4.158e-06/1.274, allocations: 0 / 1.264 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01531/1.289, allocations: 4.469 MB / 1.269 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/1.289, allocations: 205.2 kB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.291, allocations: 0.9475 MB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/1.291, allocations: 63.47 kB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/1.292, allocations: 0.747 MB / 1.27 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/1.292, allocations: 0.6793 MB / 1.271 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008469/1.293, allocations: 401.2 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/1.293, allocations: 302.4 kB / 1.272 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004584/1.298, allocations: 1.253 MB / 1.273 GB, free: 172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/1.302, allocations: 1.436 MB / 1.274 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00822/1.311, allocations: 2.613 MB / 1.277 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.311, allocations: 11.41 kB / 1.277 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01021/1.321, allocations: 3.121 MB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.321, allocations: 6.344 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.321, allocations: 1.031 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/1.321, allocations: 89.34 kB / 1.28 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.325, allocations: 0.6037 MB / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/1.327, allocations: 1.541 MB / 1.282 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.331, allocations: 370.7 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/1.331, allocations: 102 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.001692/1.333, allocations: 440.5 kB / 1.283 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/1.334, allocations: 157.8 kB / 1.283 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.345, allocations: 3.714 MB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.345, allocations: 22.72 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.345, allocations: 3.938 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/1.345, allocations: 13.2 kB / 1.287 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.349, allocations: 2.468 MB / 1.289 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/1.349, allocations: 0 / 1.289 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/1.353, allocations: 0.5657 MB / 1.29 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005837/1.353, allocations: 88.14 kB / 1.29 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.354, allocations: 73 kB / 1.29 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/1.356, allocations: 1.545 MB / 1.292 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.356, allocations: 0 / 1.292 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.367, allocations: 3.211 MB / 1.295 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.368, allocations: 0.5401 MB / 1.295 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/1.368, allocations: 60.36 kB / 1.295 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.372, allocations: 282 kB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.372, allocations: 145.8 kB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/1.372, allocations: 97.25 kB / 1.296 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001303/1.374, allocations: 0.6985 MB / 1.296 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.374, allocations: 1.344 kB / 1.296 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002382/1.376, allocations: 0.6792 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.00212/1.378, allocations: 0.662 MB / 1.298 GB, free: 159 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009824/1.388, allocations: 3.157 MB / 1.301 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.388, allocations: 0 / 1.301 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004752/1.393, allocations: 1.762 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.00231/1.395, allocations: 361.6 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.009829/1.405, allocations: 5.076 MB / 1.308 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.406, allocations: 1.431 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003924/1.41, allocations: 0.5872 MB / 1.31 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.412, allocations: 235.2 kB / 1.31 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.412, allocations: 0 / 1.31 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04388/1.455, allocations: 30.12 MB / 1.339 GB, free: 120.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)