Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001036/0.001036, allocations: 108.8 kB / 15.99 MB, free: 6.355 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.001086/0.001086, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.269/1.269, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002514, allocations: 288.4 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.2 MB / 0.4985 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 95.48 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1694, allocations: 86.97 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006345/0.1758, allocations: 4.346 MB / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4547/0.6305, allocations: 148.3 MB / 0.8294 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.6313, allocations: 15.94 kB / 0.8294 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.6318, allocations: 136.9 kB / 0.8295 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.6335, allocations: 449.8 kB / 0.8299 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.6353, allocations: 0.7385 MB / 0.8307 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.6367, allocations: 1.297 MB / 0.8319 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008278/0.6376, allocations: 0.6139 MB / 0.8325 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.6382, allocations: 470.3 kB / 0.833 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.6387, allocations: 499.1 kB / 0.8334 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6389, allocations: 116 kB / 0.8336 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.6397, allocations: 459.6 kB / 0.834 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.64, allocations: 291.1 kB / 0.8343 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.6404, allocations: 0.5401 MB / 0.8348 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.6418, allocations: 1.2 MB / 0.836 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6418, allocations: 0 / 0.836 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6418, allocations: 0 / 0.836 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.6418, allocations: 0 / 0.836 GB, free: 15.99 MB / 0.6075 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.0024/0.6442, allocations: 1.403 MB / 0.8373 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6443, allocations: 16.02 kB / 0.8374 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.6452, allocations: 183.4 kB / 0.8375 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.6462, allocations: 0.7386 MB / 0.8383 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.6463, allocations: 66 kB / 0.8383 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.6464, allocations: 76 kB / 0.8384 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6479, allocations: 0.9145 MB / 0.8393 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6479, allocations: 0 / 0.8393 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.648, allocations: 35.75 kB / 0.8393 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.648, allocations: 24 kB / 0.8393 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.6497, allocations: 1.108 MB / 0.8404 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.6536, allocations: 2.5 MB / 0.8429 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.655, allocations: 0.7911 MB / 0.8436 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/0.6555, allocations: 298.7 kB / 0.8439 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.6556, allocations: 32.8 kB / 0.844 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008307/0.6564, allocations: 492 kB / 0.8444 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.525e-06/0.6564, allocations: 4 kB / 0.8444 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00305/0.6595, allocations: 1.194 MB / 0.8456 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.6596, allocations: 188.6 kB / 0.8458 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.6603, allocations: 0.6292 MB / 0.8464 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.6604, allocations: 41.7 kB / 0.8464 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.6607, allocations: 392.3 kB / 0.8468 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.6609, allocations: 260.3 kB / 0.847 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.6612, allocations: 162.5 kB / 0.8472 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6613, allocations: 390.7 kB / 0.8476 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.6618, allocations: 269.8 kB / 0.8478 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.6624, allocations: 355.1 kB / 0.8482 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6635, allocations: 0.6072 MB / 0.8488 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6635, allocations: 0 / 0.8488 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001891/0.6654, allocations: 0.8488 MB / 0.8496 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6654, allocations: 4 kB / 0.8496 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6654, allocations: 1.625 kB / 0.8496 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.666, allocations: 84.83 kB / 0.8497 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.6667, allocations: 159.8 kB / 0.8498 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6687, allocations: 1.631 MB / 0.8514 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.6694, allocations: 99.44 kB / 0.8515 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.6695, allocations: 35.97 kB / 0.8516 GB, free: 15.53 MB / 0.6231 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.0004396/0.6699, allocations: 263.4 kB / 0.8518 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.6701, allocations: 84.75 kB / 0.8519 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.6724, allocations: 1.058 MB / 0.8529 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6724, allocations: 8 kB / 0.8529 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6724, allocations: 0 / 0.8529 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.6724, allocations: 15.86 kB / 0.8529 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.6734, allocations: 0.8953 MB / 0.8538 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6734, allocations: 0 / 0.8538 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.674, allocations: 139.8 kB / 0.8539 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.6744, allocations: 80.72 kB / 0.854 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.6745, allocations: 23.98 kB / 0.854 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.6763, allocations: 1.666 MB / 0.8557 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6763, allocations: 0 / 0.8557 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.6783, allocations: 0.9239 MB / 0.8566 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.6786, allocations: 263.8 kB / 0.8568 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6788, allocations: 19.98 kB / 0.8568 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.6794, allocations: 63.94 kB / 0.8569 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6795, allocations: 68.91 kB / 0.857 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.6796, allocations: 35.97 kB / 0.857 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005378/0.6801, allocations: 455 kB / 0.8574 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6801, allocations: 3.938 kB / 0.8574 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008038/0.681, allocations: 311.2 kB / 0.8577 GB, free: 8.926 MB / 0.6231 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.001327/0.6823, allocations: 0.6056 MB / 0.8583 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.6846, allocations: 1.031 MB / 0.8593 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6846, allocations: 0 / 0.8593 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.6855, allocations: 0.5157 MB / 0.8598 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6867, allocations: 291.4 kB / 0.8601 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.6906, allocations: 2.187 MB / 0.8623 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.6912, allocations: 1.019 MB / 0.8633 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.6915, allocations: 123.3 kB / 0.8634 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.6915, allocations: 0 / 0.8634 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of Templates: time 0.02342/0.715, allocations: 18.26 MB / 0.8812 GB, free: 1.125 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)