Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001035/0.001035, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009218/0.009219, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 8.969 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 82.3 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007879/0.1937, allocations: 5.543 MB / 0.5934 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5499/0.7436, allocations: 147.5 MB / 0.7374 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.7448, allocations: 18.81 kB / 0.7374 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.7455, allocations: 186.4 kB / 0.7376 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.7474, allocations: 0.5122 MB / 0.7381 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.7504, allocations: 1.142 MB / 0.7392 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.7539, allocations: 2.229 MB / 0.7414 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.7559, allocations: 1.494 MB / 0.7429 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.7572, allocations: 0.6927 MB / 0.7436 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.7582, allocations: 0.8235 MB / 0.7444 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.7584, allocations: 57.41 kB / 0.7444 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7597, allocations: 422 kB / 0.7448 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.76, allocations: 357.9 kB / 0.7452 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.7609, allocations: 0.8719 MB / 0.746 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.7636, allocations: 2.96 MB / 0.7489 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7636, allocations: 2.969 kB / 0.7489 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7636, allocations: 0 / 0.7489 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.7636, allocations: 4 kB / 0.7489 GB, free: 5.535 MB / 0.5606 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.004349/0.768, allocations: 2.1 MB / 0.751 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.768, allocations: 12.12 kB / 0.751 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.7841, allocations: 2.278 MB / 0.7532 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.7865, allocations: 1.2 MB / 0.7544 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.7867, allocations: 160.3 kB / 0.7545 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.787, allocations: 208 kB / 0.7547 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008763/0.7958, allocations: 3.228 MB / 0.7579 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.7959, allocations: 0 / 0.7579 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.7961, allocations: 95.94 kB / 0.758 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.7962, allocations: 52 kB / 0.758 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.809, allocations: 4.243 MB / 0.7622 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.8253, allocations: 7.045 MB / 0.769 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009041/0.8344, allocations: 2.716 MB / 0.7717 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004486/0.8389, allocations: 1.443 MB / 0.7731 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/0.8398, allocations: 0.4996 MB / 0.7736 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005307/0.8451, allocations: 1.707 MB / 0.7752 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 5.02e-06/0.8451, allocations: 0 / 0.7752 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01502/0.8601, allocations: 4.24 MB / 0.7794 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8603, allocations: 205.9 kB / 0.7796 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.8616, allocations: 0.8541 MB / 0.7804 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.8619, allocations: 57.7 kB / 0.7805 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/0.8627, allocations: 0.715 MB / 0.7812 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007882/0.8635, allocations: 0.6274 MB / 0.7818 GB, free: 5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.8638, allocations: 133.6 kB / 0.7819 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8639, allocations: 305.1 kB / 0.7822 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004227/0.8681, allocations: 1.198 MB / 0.7834 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/0.8724, allocations: 1.371 MB / 0.7847 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008292/0.8807, allocations: 2.52 MB / 0.7872 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.8807, allocations: 3.938 kB / 0.7872 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009726/0.8904, allocations: 2.98 MB / 0.7901 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8905, allocations: 8 kB / 0.7901 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8905, allocations: 0 / 0.7901 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.8911, allocations: 92.83 kB / 0.7902 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.8947, allocations: 0.5746 MB / 0.7907 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.8969, allocations: 1.542 MB / 0.7923 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/0.9003, allocations: 344.4 kB / 0.7926 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.9006, allocations: 95.89 kB / 0.7927 GB, free: 9.652 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: 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.001263/0.9019, allocations: 397.5 kB / 0.7931 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004775/0.9024, allocations: 142.2 kB / 0.7932 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.9141, allocations: 3.509 MB / 0.7966 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.9142, allocations: 20 kB / 0.7966 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.9142, allocations: 4.109 kB / 0.7966 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.9142, allocations: 23.83 kB / 0.7967 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.9291, allocations: 5.773 MB / 0.8023 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.9291, allocations: 3.938 kB / 0.8023 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003639/0.9328, allocations: 0.55 MB / 0.8028 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/0.9334, allocations: 96.69 kB / 0.8029 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/0.9337, allocations: 67.92 kB / 0.803 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.9358, allocations: 1.544 MB / 0.8045 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9358, allocations: 0 / 0.8045 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.947, allocations: 3.082 MB / 0.8075 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.9484, allocations: 0.5335 MB / 0.808 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/0.9489, allocations: 36 kB / 0.8081 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/0.952, allocations: 268.9 kB / 0.8083 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/0.9523, allocations: 129.8 kB / 0.8084 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/0.9526, allocations: 79.92 kB / 0.8085 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001336/0.9539, allocations: 0.6466 MB / 0.8092 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9539, allocations: 0 / 0.8092 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002241/0.9562, allocations: 0.5959 MB / 0.8097 GB, free: 7.895 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: 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.001954/0.9582, allocations: 0.6354 MB / 0.8104 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.9684, allocations: 3.014 MB / 0.8133 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.9684, allocations: 12.17 kB / 0.8133 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005314/0.9737, allocations: 1.661 MB / 0.8149 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.9759, allocations: 323.5 kB / 0.8152 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.9875, allocations: 4.956 MB / 0.8201 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.9889, allocations: 1.377 MB / 0.8214 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0045/0.9935, allocations: 0.5507 MB / 0.822 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.995, allocations: 215.2 kB / 0.8222 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of SimCode: time 1.984e-06/0.995, allocations: 0 / 0.8222 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.05757/1.053, allocations: 26.59 MB / 0.8481 GB, free: 0.8438 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)