Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001165/0.001171, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009617/0.009617, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 9.969 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4161, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00754/0.4237, allocations: 4.438 MB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.6179, allocations: 146.7 MB / 1.222 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.6191, allocations: 15.88 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.6197, allocations: 146.9 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.6217, allocations: 473.3 kB / 1.222 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.6239, allocations: 0.7226 MB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.6255, allocations: 1.277 MB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.6264, allocations: 0.5477 MB / 1.225 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.627, allocations: 346.4 kB / 1.225 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.6275, allocations: 385.9 kB / 1.226 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.6276, allocations: 28 kB / 1.226 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009583/0.6285, allocations: 367.6 kB / 1.226 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.6288, allocations: 187.1 kB / 1.226 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.6293, allocations: 466.9 kB / 1.227 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.631, allocations: 1.479 MB / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.631, allocations: 0 / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.522e-06/0.631, allocations: 0 / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.631, allocations: 4 kB / 1.228 GB, free: 9.406 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.002306/0.6333, allocations: 1.22 MB / 1.229 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6334, allocations: 8.031 kB / 1.229 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.6343, allocations: 195.4 kB / 1.229 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6354, allocations: 0.7421 MB / 1.23 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.6355, allocations: 66 kB / 1.23 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6356, allocations: 80 kB / 1.23 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.6373, allocations: 0.9222 MB / 1.231 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6374, allocations: 0 / 1.231 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.844e-05/0.6375, allocations: 40 kB / 1.231 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.6375, allocations: 20 kB / 1.231 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6395, allocations: 1.112 MB / 1.232 GB, free: 4.875 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.004553/0.644, allocations: 2.735 MB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.6456, allocations: 0.8058 MB / 1.236 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.6461, allocations: 306.6 kB / 1.236 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/0.6462, allocations: 36.67 kB / 1.236 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009318/0.6472, allocations: 0.4913 MB / 1.237 GB, free: 368 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.245e-06/0.6472, allocations: 0 / 1.237 GB, free: 368 kB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003312/0.6505, allocations: 1.206 MB / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.6507, allocations: 192.6 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.6516, allocations: 0.637 MB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.6517, allocations: 41.7 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.6521, allocations: 396.3 kB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.6523, allocations: 256.2 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.6524, allocations: 69.67 kB / 1.239 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.6526, allocations: 386.7 kB / 1.24 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.6532, allocations: 277.8 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.6539, allocations: 367.1 kB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.655, allocations: 0.6151 MB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.655, allocations: 0 / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00203/0.6571, allocations: 0.8606 MB / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.6571, allocations: 5.719 kB / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6571, allocations: 0 / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.6578, allocations: 88.83 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.6585, allocations: 167.7 kB / 1.242 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.6608, allocations: 1.52 MB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.6616, allocations: 104 kB / 1.243 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.6617, allocations: 36.03 kB / 1.244 GB, free: 8.902 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.0005367/0.6622, allocations: 276.8 kB / 1.244 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6624, allocations: 86.91 kB / 1.244 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.6649, allocations: 1.062 MB / 1.245 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.6649, allocations: 12 kB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6649, allocations: 3.984 kB / 1.245 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6649, allocations: 7.984 kB / 1.245 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.6661, allocations: 0.8956 MB / 1.246 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6662, allocations: 0 / 1.246 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.6667, allocations: 143.8 kB / 1.246 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.6673, allocations: 80.78 kB / 1.246 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.6673, allocations: 27.97 kB / 1.246 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6693, allocations: 1.548 MB / 1.248 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6693, allocations: 3.938 kB / 1.248 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.6713, allocations: 0.9356 MB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.6718, allocations: 287.7 kB / 1.249 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6719, allocations: 19.98 kB / 1.249 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/0.6726, allocations: 87.94 kB / 1.249 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.6728, allocations: 68.89 kB / 1.249 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/0.6729, allocations: 35.98 kB / 1.249 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006436/0.6735, allocations: 459 kB / 1.249 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6735, allocations: 0 / 1.249 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000978/0.6745, allocations: 319.2 kB / 1.25 GB, free: 2.324 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.001571/0.6761, allocations: 0.6002 MB / 1.25 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.6779, allocations: 0.8351 MB / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6779, allocations: 0 / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000988/0.6789, allocations: 0.52 MB / 1.252 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6802, allocations: 287.9 kB / 1.252 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.841/1.521, allocations: 2.065 MB / 1.254 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/1.522, allocations: 1.019 MB / 1.255 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001174/1.523, allocations: 255.3 kB / 1.255 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/1.523, allocations: 110.8 kB / 1.255 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.523, allocations: 0 / 1.255 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.03444/1.558, allocations: 14.31 MB / 1.269 GB, free: 28.34 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)