Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008034, allocations: 90.36 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.005226/0.005226, allocations: 173.7 kB / 16.27 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 14 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3742, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006228/0.3805, allocations: 4.43 MB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.5653, allocations: 146.7 MB / 1.222 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.5665, allocations: 23.88 kB / 1.222 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.5675, allocations: 142.9 kB / 1.222 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.5698, allocations: 471.4 kB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.5723, allocations: 0.7266 MB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.5746, allocations: 1.276 MB / 1.224 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.5762, allocations: 0.5478 MB / 1.225 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.5774, allocations: 346.4 kB / 1.225 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.578, allocations: 385.9 kB / 1.226 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.5781, allocations: 27.94 kB / 1.226 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5794, allocations: 367.6 kB / 1.226 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.5797, allocations: 195.1 kB / 1.226 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.5803, allocations: 462.9 kB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.5824, allocations: 1.483 MB / 1.228 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.5824, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5824, allocations: 3.938 kB / 1.228 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.5824, allocations: 0 / 1.228 GB, free: 9.418 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002799/0.5852, allocations: 1.208 MB / 1.229 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.5853, allocations: 12.03 kB / 1.229 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.5863, allocations: 199.4 kB / 1.229 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.5874, allocations: 0.7382 MB / 1.23 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.5874, allocations: 65.98 kB / 1.23 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5876, allocations: 80 kB / 1.23 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.5892, allocations: 0.9261 MB / 1.231 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5892, allocations: 0 / 1.231 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.5893, allocations: 32 kB / 1.231 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.5894, allocations: 20 kB / 1.231 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5911, allocations: 1.108 MB / 1.232 GB, free: 4.902 MB / 0.9825 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.004237/0.5954, allocations: 2.738 MB / 1.235 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5969, allocations: 0.8069 MB / 1.236 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.5975, allocations: 314.6 kB / 1.236 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.5976, allocations: 28.67 kB / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009181/0.5985, allocations: 0.4913 MB / 1.237 GB, free: 392 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/0.5985, allocations: 0 / 1.237 GB, free: 392 kB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003298/0.6018, allocations: 1.202 MB / 1.238 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6019, allocations: 192.6 kB / 1.238 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/0.6027, allocations: 0.6331 MB / 1.238 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.6028, allocations: 45.7 kB / 1.239 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.6032, allocations: 392.3 kB / 1.239 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.6034, allocations: 264.2 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.6035, allocations: 69.67 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.6037, allocations: 390.7 kB / 1.24 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.6042, allocations: 269.9 kB / 1.24 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.6048, allocations: 375.1 kB / 1.24 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6059, allocations: 0.6112 MB / 1.241 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.606, allocations: 0 / 1.241 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001911/0.6079, allocations: 0.8605 MB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6079, allocations: 5.25 kB / 1.242 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6079, allocations: 8.062 kB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.6086, allocations: 80.7 kB / 1.242 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.6092, allocations: 171.7 kB / 1.242 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.6113, allocations: 1.524 MB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.6121, allocations: 99.98 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.6122, allocations: 35.97 kB / 1.244 GB, free: 8.922 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004825/0.6127, allocations: 272.7 kB / 1.244 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.6128, allocations: 86.91 kB / 1.244 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.6152, allocations: 1.069 MB / 1.245 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6152, allocations: 8 kB / 1.245 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6152, allocations: 0 / 1.245 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6152, allocations: 7.969 kB / 1.245 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6162, allocations: 0.8917 MB / 1.246 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6163, allocations: 0 / 1.246 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.6168, allocations: 151.8 kB / 1.246 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.6174, allocations: 80.78 kB / 1.246 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.6174, allocations: 27.97 kB / 1.246 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.6193, allocations: 1.544 MB / 1.248 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6193, allocations: 3.938 kB / 1.248 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.6212, allocations: 0.9395 MB / 1.248 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.6216, allocations: 283.7 kB / 1.249 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6217, allocations: 19.98 kB / 1.249 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.6224, allocations: 83.88 kB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6226, allocations: 73.03 kB / 1.249 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.6226, allocations: 31.98 kB / 1.249 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005845/0.6232, allocations: 459 kB / 1.249 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6232, allocations: 4 kB / 1.249 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008555/0.6241, allocations: 323.2 kB / 1.25 GB, free: 2.344 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001383/0.6255, allocations: 0.5917 MB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.6272, allocations: 0.8392 MB / 1.251 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6272, allocations: 0 / 1.251 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.6281, allocations: 0.5237 MB / 1.252 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6294, allocations: 287 kB / 1.252 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8023/1.432, allocations: 2.063 MB / 1.254 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/1.432, allocations: 1.02 MB / 1.255 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001107/1.434, allocations: 259.5 kB / 1.255 GB, free: 29.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/1.434, allocations: 105.5 kB / 1.255 GB, free: 29.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.434, allocations: 0 / 1.255 GB, free: 29.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03076/1.465, allocations: 14.31 MB / 1.269 GB, free: 28.21 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)