Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001407/0.001407, 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.001563/0.001563, allocations: 194.6 kB / 16.14 MB, free: 6.668 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 282.4 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 91.48 kB / 0.5945 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007532/0.1534, allocations: 6.433 MB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.5775, allocations: 149.3 MB / 0.8315 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.5786, allocations: 20.22 kB / 0.8315 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.5791, allocations: 191 kB / 0.8317 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.5806, allocations: 0.5776 MB / 0.8323 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.5829, allocations: 1.209 MB / 0.8334 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.5849, allocations: 2.465 MB / 0.8359 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.5866, allocations: 1.549 MB / 0.8374 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.588, allocations: 0.9678 MB / 0.8383 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.5892, allocations: 1.174 MB / 0.8395 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.5895, allocations: 159.5 kB / 0.8396 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5905, allocations: 0.5168 MB / 0.8401 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.591, allocations: 0.5304 MB / 0.8406 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009484/0.5919, allocations: 1.113 MB / 0.8417 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.5946, allocations: 3.339 MB / 0.845 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5947, allocations: 0 / 0.845 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5947, allocations: 0 / 0.845 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.946e-05/0.5947, allocations: 0 / 0.845 GB, free: 11.64 MB / 0.5762 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.005652/0.6004, allocations: 2.785 MB / 0.8477 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6004, allocations: 9.844 kB / 0.8477 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.6166, allocations: 2.107 MB / 0.8498 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.619, allocations: 1.263 MB / 0.851 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.6192, allocations: 177.8 kB / 0.8512 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.6195, allocations: 218 kB / 0.8514 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008671/0.6282, allocations: 3.284 MB / 0.8546 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.6283, allocations: 0 / 0.8546 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.6286, allocations: 95.19 kB / 0.8547 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.6286, allocations: 52.38 kB / 0.8547 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.6409, allocations: 4.209 MB / 0.8588 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.6561, allocations: 7.308 MB / 0.866 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008206/0.6644, allocations: 2.888 MB / 0.8688 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/0.6685, allocations: 1.484 MB / 0.8702 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.6692, allocations: 0.5048 MB / 0.8707 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004823/0.6741, allocations: 1.845 MB / 0.8725 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=213): time 3.657e-06/0.6741, allocations: 0 / 0.8725 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.01421/0.6883, allocations: 4.458 MB / 0.8769 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6884, allocations: 209.9 kB / 0.8771 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.6897, allocations: 0.9447 MB / 0.878 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.69, allocations: 61.81 kB / 0.8781 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.6905, allocations: 0.7485 MB / 0.8788 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006074/0.6912, allocations: 0.6769 MB / 0.8795 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.6919, allocations: 395.2 kB / 0.8798 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.692, allocations: 301.1 kB / 0.8801 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/0.6962, allocations: 1.261 MB / 0.8814 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/0.7005, allocations: 1.433 MB / 0.8828 GB, free: 180 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008283/0.7088, allocations: 2.61 MB / 0.8853 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.7088, allocations: 0 / 0.8853 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01008/0.7189, allocations: 3.12 MB / 0.8884 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.719, allocations: 4 kB / 0.8884 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.719, allocations: 8.062 kB / 0.8884 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.7196, allocations: 80.78 kB / 0.8884 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.7236, allocations: 0.6084 MB / 0.889 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.7257, allocations: 1.52 MB / 0.8905 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.7289, allocations: 366 kB / 0.8909 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.7292, allocations: 103.9 kB / 0.891 GB, free: 7.594 MB / 0.6075 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.001052/0.7303, allocations: 436.7 kB / 0.8914 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.7307, allocations: 154.1 kB / 0.8915 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.7422, allocations: 3.717 MB / 0.8952 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.7423, allocations: 24 kB / 0.8952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7423, allocations: 3.938 kB / 0.8952 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.7423, allocations: 15.95 kB / 0.8952 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.7457, allocations: 2.455 MB / 0.8976 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.7458, allocations: 0 / 0.8976 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003638/0.7494, allocations: 0.5616 MB / 0.8982 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.75, allocations: 88.77 kB / 0.8982 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/0.7503, allocations: 71.91 kB / 0.8983 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.7523, allocations: 1.547 MB / 0.8998 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7523, allocations: 8.047 kB / 0.8998 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.7626, allocations: 3.21 MB / 0.903 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7638, allocations: 0.549 MB / 0.9035 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.7642, allocations: 56.92 kB / 0.9036 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/0.7671, allocations: 268.5 kB / 0.9038 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/0.7675, allocations: 149.8 kB / 0.904 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/0.7677, allocations: 95.91 kB / 0.904 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001018/0.7687, allocations: 0.6958 MB / 0.9047 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.462e-06/0.7687, allocations: 0 / 0.9047 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00174/0.7705, allocations: 0.6349 MB / 0.9053 GB, free: 8.668 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: 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.001523/0.772, allocations: 0.654 MB / 0.906 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009986/0.782, allocations: 3.166 MB / 0.9091 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7821, allocations: 4 kB / 0.9091 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005136/0.7872, allocations: 1.747 MB / 0.9108 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.789, allocations: 338.7 kB / 0.9111 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.7991, allocations: 5.188 MB / 0.9162 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009788/0.8001, allocations: 1.434 MB / 0.9176 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00351/0.8037, allocations: 0.5713 MB / 0.9181 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.8047, allocations: 231.2 kB / 0.9184 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8047, allocations: 0 / 0.9184 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.04422/0.8489, allocations: 28.93 MB / 0.9466 GB, free: 14.71 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)