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.0014/0.0014, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001861/0.001861, allocations: 195.5 kB / 16.25 MB, free: 6.617 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.84 kB / 0.5013 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.563, allocations: 80.2 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008125/0.5712, allocations: 6.018 MB / 0.5855 GB, free: 220 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1899/0.7611, allocations: 149.2 MB / 0.7312 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.7632, allocations: 19.94 kB / 0.7312 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.7641, allocations: 190.3 kB / 0.7314 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.7667, allocations: 0.5332 MB / 0.7319 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.77, allocations: 1.157 MB / 0.733 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.7731, allocations: 2.411 MB / 0.7354 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.7751, allocations: 1.588 MB / 0.7369 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.7766, allocations: 1.051 MB / 0.738 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.778, allocations: 1.183 MB / 0.7391 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.7783, allocations: 296 kB / 0.7394 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.7795, allocations: 0.6479 MB / 0.74 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.78, allocations: 0.6388 MB / 0.7407 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.781, allocations: 1.174 MB / 0.7418 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.7843, allocations: 3.225 MB / 0.7449 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7844, allocations: 4 kB / 0.745 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7844, allocations: 0 / 0.745 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.7844, allocations: 0 / 0.745 GB, free: 7.781 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.005159/0.7896, allocations: 2.578 MB / 0.7475 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7896, allocations: 8.031 kB / 0.7475 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.8053, allocations: 2.097 MB / 0.7495 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.8077, allocations: 1.196 MB / 0.7507 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.8078, allocations: 160.4 kB / 0.7508 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.8082, allocations: 212 kB / 0.751 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008481/0.8167, allocations: 3.154 MB / 0.7541 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.8168, allocations: 0 / 0.7541 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.817, allocations: 88 kB / 0.7542 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.8171, allocations: 52 kB / 0.7543 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.8292, allocations: 4.103 MB / 0.7583 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.8443, allocations: 7.01 MB / 0.7651 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00821/0.8525, allocations: 2.693 MB / 0.7677 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/0.8567, allocations: 1.426 MB / 0.7691 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00077/0.8575, allocations: 0.5113 MB / 0.7696 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004892/0.8624, allocations: 1.694 MB / 0.7713 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 3.707e-06/0.8624, allocations: 0 / 0.7713 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01437/0.8768, allocations: 4.2 MB / 0.7754 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.877, allocations: 197.9 kB / 0.7756 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.8784, allocations: 0.8619 MB / 0.7764 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.8786, allocations: 57.7 kB / 0.7765 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/0.8792, allocations: 0.7073 MB / 0.7772 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/0.8798, allocations: 0.6353 MB / 0.7778 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/0.8806, allocations: 359.2 kB / 0.7781 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8807, allocations: 305.1 kB / 0.7784 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.8847, allocations: 1.187 MB / 0.7796 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/0.889, allocations: 1.363 MB / 0.7809 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008271/0.8973, allocations: 2.493 MB / 0.7833 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.8974, allocations: 0 / 0.7833 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.0103/0.9077, allocations: 2.952 MB / 0.7862 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.9077, allocations: 4 kB / 0.7862 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9078, allocations: 4 kB / 0.7862 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.9084, allocations: 84.84 kB / 0.7863 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/0.9124, allocations: 0.5734 MB / 0.7869 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.9149, allocations: 1.642 MB / 0.7885 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.9184, allocations: 342.2 kB / 0.7888 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005129/0.919, allocations: 91.89 kB / 0.7889 GB, free: 9.992 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.001441/0.9204, allocations: 407 kB / 0.7893 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005271/0.921, allocations: 142.2 kB / 0.7894 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.9321, allocations: 3.48 MB / 0.7928 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.9322, allocations: 20 kB / 0.7928 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9322, allocations: 0 / 0.7928 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.9322, allocations: 11.95 kB / 0.7928 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.9452, allocations: 5.753 MB / 0.7985 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9452, allocations: 0 / 0.7985 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/0.9487, allocations: 0.5422 MB / 0.799 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.9492, allocations: 76.78 kB / 0.7991 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/0.9495, allocations: 71.86 kB / 0.7991 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.9517, allocations: 1.666 MB / 0.8008 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9517, allocations: 0 / 0.8008 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.962, allocations: 3.055 MB / 0.8037 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.9633, allocations: 0.4986 MB / 0.8042 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/0.9639, allocations: 47.83 kB / 0.8043 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/0.9671, allocations: 243.7 kB / 0.8045 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/0.9676, allocations: 129.8 kB / 0.8046 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/0.9679, allocations: 83.92 kB / 0.8047 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001483/0.9695, allocations: 0.6349 MB / 0.8053 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9695, allocations: 0 / 0.8053 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003277/0.9728, allocations: 0.5959 MB / 0.8059 GB, free: 8.27 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.002449/0.9752, allocations: 0.6548 MB / 0.8066 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01364/0.9889, allocations: 3.452 MB / 0.8099 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.9889, allocations: 4.062 kB / 0.8099 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005374/0.9943, allocations: 1.653 MB / 0.8115 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.9966, allocations: 358.8 kB / 0.8119 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/1.28, allocations: 4.877 MB / 0.8167 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.281, allocations: 1.37 MB / 0.818 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003488/1.284, allocations: 0.5475 MB / 0.8185 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009843/1.285, allocations: 217 kB / 0.8187 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/1.285, allocations: 0 / 0.8187 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.05008/1.336, allocations: 27.84 MB / 0.8459 GB, free: 203.5 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)