Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6975/0.6975, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 222.9 MB / 404.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 99.75 kB / 485.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1773, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009834/0.1872, allocations: 4.511 MB / 0.6465 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4603/0.6475, allocations: 148.3 MB / 0.7914 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/0.6482, allocations: 19.88 kB / 0.7914 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.6487, allocations: 141.4 kB / 0.7915 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.6499, allocations: 417.3 kB / 0.7919 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.6515, allocations: 0.7154 MB / 0.7926 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.6526, allocations: 1.239 MB / 0.7938 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6536, allocations: 0.891 MB / 0.7947 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.654, allocations: 485.9 kB / 0.7951 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.6545, allocations: 0.5365 MB / 0.7957 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.6547, allocations: 84 kB / 0.7958 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.6553, allocations: 424.6 kB / 0.7962 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.6556, allocations: 286.9 kB / 0.7964 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.656, allocations: 0.5902 MB / 0.797 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.6575, allocations: 1.737 MB / 0.7987 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6575, allocations: 7.984 kB / 0.7987 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6575, allocations: 0 / 0.7987 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6575, allocations: 0.6562 kB / 0.7987 GB, free: 0.7461 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002217/0.6598, allocations: 1.584 MB / 0.8003 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6598, allocations: 12.02 kB / 0.8003 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.6607, allocations: 211.1 kB / 0.8005 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6617, allocations: 0.8096 MB / 0.8013 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.6618, allocations: 86.92 kB / 0.8013 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.662, allocations: 112 kB / 0.8014 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.6637, allocations: 1.141 MB / 0.8026 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6637, allocations: 0 / 0.8026 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.6638, allocations: 48 kB / 0.8026 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6638, allocations: 28 kB / 0.8026 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.6657, allocations: 1.238 MB / 0.8038 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.6699, allocations: 3.019 MB / 0.8068 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.6713, allocations: 0.7725 MB / 0.8075 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.6718, allocations: 290.7 kB / 0.8078 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/0.6719, allocations: 36.67 kB / 0.8079 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008156/0.6727, allocations: 451.2 kB / 0.8083 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 1.974e-06/0.6727, allocations: 0 / 0.8083 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.002876/0.6756, allocations: 1.139 MB / 0.8094 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.6757, allocations: 192.6 kB / 0.8096 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.6765, allocations: 0.6921 MB / 0.8103 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6766, allocations: 41.7 kB / 0.8103 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.6769, allocations: 0.4996 MB / 0.8108 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.6771, allocations: 256.3 kB / 0.811 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.6774, allocations: 166.5 kB / 0.8112 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6775, allocations: 390.8 kB / 0.8116 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.678, allocations: 257.9 kB / 0.8118 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.6786, allocations: 351.1 kB / 0.8121 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6797, allocations: 0.5994 MB / 0.8127 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6797, allocations: 0 / 0.8127 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001849/0.6815, allocations: 0.8408 MB / 0.8136 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6816, allocations: 8 kB / 0.8136 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6816, allocations: 0 / 0.8136 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.6822, allocations: 84.86 kB / 0.8136 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.6828, allocations: 159.8 kB / 0.8138 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6848, allocations: 1.524 MB / 0.8153 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.6854, allocations: 89.23 kB / 0.8154 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.6855, allocations: 31.98 kB / 0.8154 GB, free: 15.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0003688/0.6858, allocations: 283 kB / 0.8157 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.686, allocations: 90.88 kB / 0.8158 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.6882, allocations: 1.035 MB / 0.8168 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6883, allocations: 8 kB / 0.8168 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.6883, allocations: 0 / 0.8168 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.6883, allocations: 3.984 kB / 0.8168 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.6893, allocations: 0.9859 MB / 0.8177 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6894, allocations: 0 / 0.8177 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.69, allocations: 147.8 kB / 0.8179 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.6905, allocations: 80.77 kB / 0.818 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.6905, allocations: 23.98 kB / 0.818 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.6924, allocations: 1.552 MB / 0.8195 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6924, allocations: 1.406 kB / 0.8195 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.6952, allocations: 1.941 MB / 0.8214 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.6956, allocations: 267.7 kB / 0.8216 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6957, allocations: 23.66 kB / 0.8217 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.6963, allocations: 51.94 kB / 0.8217 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6964, allocations: 64.92 kB / 0.8218 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.6965, allocations: 31.98 kB / 0.8218 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000559/0.697, allocations: 0.4912 MB / 0.8223 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.697, allocations: 4 kB / 0.8223 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008355/0.6979, allocations: 342.9 kB / 0.8226 GB, free: 7.414 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001206/0.6991, allocations: 0.5897 MB / 0.8232 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.7006, allocations: 0.8007 MB / 0.824 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7007, allocations: 0 / 0.824 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.7015, allocations: 0.5041 MB / 0.8245 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7027, allocations: 279.4 kB / 0.8247 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.7071, allocations: 2.939 MB / 0.8276 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.7077, allocations: 1.106 MB / 0.8287 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008262/0.7086, allocations: 270.8 kB / 0.8289 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.7088, allocations: 103.3 kB / 0.829 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.7088, allocations: 0 / 0.829 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of Templates: time 0.02225/0.7311, allocations: 14.33 MB / 0.843 GB, free: 2.73 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)