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.001156/0.001156, allocations: 108 kB / 15.6 MB, free: 132 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.001103/0.001103, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 60.38 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2037, allocations: 80.93 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008836/0.2126, allocations: 6.042 MB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5493/0.762, allocations: 151.5 MB / 0.7382 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.7638, allocations: 24.22 kB / 0.7382 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.7647, allocations: 242.4 kB / 0.7384 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.7673, allocations: 0.6215 MB / 0.739 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.7706, allocations: 1.274 MB / 0.7403 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003509/0.7741, allocations: 2.398 MB / 0.7426 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.7764, allocations: 1.579 MB / 0.7442 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.7781, allocations: 1.046 MB / 0.7452 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.7797, allocations: 1.182 MB / 0.7463 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004181/0.7801, allocations: 300.5 kB / 0.7466 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.7814, allocations: 0.6493 MB / 0.7473 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005365/0.7819, allocations: 0.6422 MB / 0.7479 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.783, allocations: 1.168 MB / 0.749 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.7866, allocations: 3.217 MB / 0.7522 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7866, allocations: 11.94 kB / 0.7522 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7866, allocations: 0 / 0.7522 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.879e-05/0.7867, allocations: 0 / 0.7522 GB, free: 0.8008 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.005927/0.7926, allocations: 2.578 MB / 0.7547 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7927, allocations: 8.031 kB / 0.7547 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.8077, allocations: 2.093 MB / 0.7567 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.8105, allocations: 1.193 MB / 0.7579 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.8107, allocations: 172.3 kB / 0.7581 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006573/0.8114, allocations: 208 kB / 0.7583 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.8216, allocations: 3.158 MB / 0.7614 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.697e-05/0.8217, allocations: 4 kB / 0.7614 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004865/0.8222, allocations: 88 kB / 0.7614 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/0.8223, allocations: 56 kB / 0.7615 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.8359, allocations: 4.103 MB / 0.7655 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.8538, allocations: 7.002 MB / 0.7723 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009328/0.8632, allocations: 2.697 MB / 0.775 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/0.8679, allocations: 1.426 MB / 0.7764 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/0.8688, allocations: 0.4996 MB / 0.7769 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005501/0.8743, allocations: 1.7 MB / 0.7785 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 8.065e-06/0.8743, allocations: 0 / 0.7785 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01594/0.8903, allocations: 4.193 MB / 0.7826 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.8905, allocations: 205.9 kB / 0.7828 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.8921, allocations: 0.8579 MB / 0.7836 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003821/0.8925, allocations: 57.7 kB / 0.7837 GB, free: 12 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.8933, allocations: 0.6996 MB / 0.7844 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.8941, allocations: 0.6363 MB / 0.785 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009244/0.8951, allocations: 363.2 kB / 0.7854 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.8952, allocations: 301.1 kB / 0.7856 GB, free: 14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/0.8994, allocations: 1.191 MB / 0.7868 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/0.9041, allocations: 1.355 MB / 0.7881 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009202/0.9134, allocations: 2.493 MB / 0.7906 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.9134, allocations: 4 kB / 0.7906 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01138/0.9248, allocations: 2.956 MB / 0.7935 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.9249, allocations: 7.984 kB / 0.7935 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.9249, allocations: 4 kB / 0.7935 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.9255, allocations: 92.77 kB / 0.7936 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/0.9294, allocations: 0.5639 MB / 0.7941 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.9319, allocations: 1.641 MB / 0.7957 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/0.9354, allocations: 334.3 kB / 0.796 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/0.9359, allocations: 91.89 kB / 0.7961 GB, free: 3.07 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.001694/0.9377, allocations: 409.4 kB / 0.7965 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/0.9384, allocations: 146.2 kB / 0.7966 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.9512, allocations: 3.481 MB / 0.8 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.9513, allocations: 24 kB / 0.8001 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.9513, allocations: 0 / 0.8001 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-05/0.9513, allocations: 11.95 kB / 0.8001 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.9673, allocations: 5.753 MB / 0.8057 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.9674, allocations: 4 kB / 0.8057 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/0.971, allocations: 0.5461 MB / 0.8062 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.9716, allocations: 76.78 kB / 0.8063 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004291/0.972, allocations: 63.92 kB / 0.8064 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.9745, allocations: 1.66 MB / 0.808 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9745, allocations: 3.938 kB / 0.808 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.9854, allocations: 3.055 MB / 0.811 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.9865, allocations: 0.5063 MB / 0.8115 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/0.987, allocations: 43.92 kB / 0.8115 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/0.99, allocations: 251.9 kB / 0.8117 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.9903, allocations: 125.8 kB / 0.8119 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/0.9905, allocations: 83.86 kB / 0.8119 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001133/0.9917, allocations: 0.6427 MB / 0.8126 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9917, allocations: 0 / 0.8126 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001998/0.9937, allocations: 0.5958 MB / 0.8132 GB, free: 1.336 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.001729/0.9954, allocations: 0.6475 MB / 0.8138 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.009, allocations: 3.448 MB / 0.8172 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.009, allocations: 0 / 0.8172 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005552/1.015, allocations: 1.662 MB / 0.8188 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.017, allocations: 344.8 kB / 0.8191 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.028, allocations: 3.974 MB / 0.823 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.029, allocations: 1.377 MB / 0.8243 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004154/1.033, allocations: 0.5468 MB / 0.8249 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.035, allocations: 211.2 kB / 0.8251 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.035, allocations: 0 / 0.8251 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of Templates: time 0.05333/1.088, allocations: 27.92 MB / 0.8523 GB, free: 9.504 MB / 0.67 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)