Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6587/0.6587, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 57.03 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3384, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006076/0.3445, allocations: 6.05 MB / 0.586 GB, free: 188 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1448/0.4894, allocations: 151.5 MB / 0.7339 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.491, allocations: 19.94 kB / 0.7339 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.4919, allocations: 241.4 kB / 0.7342 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.4943, allocations: 0.6263 MB / 0.7348 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.497, allocations: 1.278 MB / 0.736 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.4994, allocations: 2.4 MB / 0.7384 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.501, allocations: 1.588 MB / 0.7399 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.5021, allocations: 1.043 MB / 0.7409 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.5031, allocations: 1.183 MB / 0.7421 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.5035, allocations: 296 kB / 0.7424 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5045, allocations: 0.6441 MB / 0.743 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.505, allocations: 0.6543 MB / 0.7436 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007994/0.5058, allocations: 1.166 MB / 0.7448 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.5084, allocations: 3.217 MB / 0.7479 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5084, allocations: 0 / 0.7479 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5084, allocations: 3.938 kB / 0.7479 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.473e-05/0.5084, allocations: 0 / 0.7479 GB, free: 5.016 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004468/0.5129, allocations: 2.582 MB / 0.7504 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5129, allocations: 16.02 kB / 0.7505 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.527, allocations: 2.089 MB / 0.7525 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.5291, allocations: 1.196 MB / 0.7537 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5292, allocations: 164.4 kB / 0.7538 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/0.5298, allocations: 212 kB / 0.754 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007892/0.5377, allocations: 3.15 MB / 0.7571 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.5378, allocations: 0 / 0.7571 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.538, allocations: 99.92 kB / 0.7572 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.5381, allocations: 56 kB / 0.7572 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.5493, allocations: 4.091 MB / 0.7612 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.5633, allocations: 7.01 MB / 0.7681 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008235/0.5715, allocations: 2.693 MB / 0.7707 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.5755, allocations: 1.426 MB / 0.7721 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/0.5762, allocations: 0.5035 MB / 0.7726 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00442/0.5807, allocations: 1.695 MB / 0.7743 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 4.198e-06/0.5807, allocations: 0 / 0.7743 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01328/0.594, allocations: 4.193 MB / 0.7783 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5941, allocations: 205.9 kB / 0.7785 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.5953, allocations: 0.858 MB / 0.7794 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.5955, allocations: 61.7 kB / 0.7794 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.596, allocations: 0.7034 MB / 0.7801 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.5966, allocations: 0.6275 MB / 0.7807 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/0.5972, allocations: 363.2 kB / 0.7811 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.5973, allocations: 301.1 kB / 0.7814 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.6011, allocations: 1.194 MB / 0.7825 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003955/0.6051, allocations: 1.359 MB / 0.7839 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/0.6129, allocations: 2.497 MB / 0.7863 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6129, allocations: 4 kB / 0.7863 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00926/0.6222, allocations: 2.948 MB / 0.7892 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6222, allocations: 6.188 kB / 0.7892 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.6222, allocations: 4 kB / 0.7892 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.6228, allocations: 88.83 kB / 0.7893 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/0.626, allocations: 0.5733 MB / 0.7898 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6279, allocations: 1.642 MB / 0.7914 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.6307, allocations: 342.1 kB / 0.7918 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.6309, allocations: 95.89 kB / 0.7919 GB, free: 7.223 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.0008286/0.6317, allocations: 411 kB / 0.7923 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.6321, allocations: 138.2 kB / 0.7924 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.6423, allocations: 3.476 MB / 0.7958 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6423, allocations: 20 kB / 0.7958 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6423, allocations: 3.984 kB / 0.7958 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.6423, allocations: 11.95 kB / 0.7958 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.6547, allocations: 5.761 MB / 0.8014 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.6548, allocations: 0 / 0.8014 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/0.6579, allocations: 0.5461 MB / 0.802 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.6584, allocations: 72.8 kB / 0.802 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.6585, allocations: 71.92 kB / 0.8021 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.6602, allocations: 1.662 MB / 0.8037 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6603, allocations: 0 / 0.8037 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008876/0.6691, allocations: 3.047 MB / 0.8067 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000785/0.6699, allocations: 0.5025 MB / 0.8072 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.6703, allocations: 51.84 kB / 0.8073 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/0.6729, allocations: 243.7 kB / 0.8075 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.6731, allocations: 125.8 kB / 0.8076 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.6733, allocations: 83.92 kB / 0.8077 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000891/0.6742, allocations: 0.6349 MB / 0.8083 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6742, allocations: 4 kB / 0.8083 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001562/0.6758, allocations: 0.588 MB / 0.8089 GB, free: 5.504 MB / 0.6387 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.001461/0.6772, allocations: 0.6516 MB / 0.8095 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01197/0.6892, allocations: 3.451 MB / 0.8129 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.6893, allocations: 0 / 0.8129 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2154/0.9047, allocations: 1.657 MB / 0.8145 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.9067, allocations: 344.2 kB / 0.8148 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/0.9155, allocations: 3.963 MB / 0.8187 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.9164, allocations: 1.37 MB / 0.82 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002805/0.9193, allocations: 0.5518 MB / 0.8206 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.9202, allocations: 218.5 kB / 0.8208 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.9202, allocations: 0 / 0.8208 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.03924/0.9594, allocations: 27.94 MB / 0.8481 GB, free: 201.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)