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.008286/0.008286, allocations: 99.61 kB / 15.73 MB, free: 6.008 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.001611/0.001611, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9987/0.9987, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.458, allocations: 80.92 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006487/0.4646, allocations: 6.06 MB / 0.6705 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1871/0.6517, allocations: 151.5 MB / 0.8184 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.6533, allocations: 27.88 kB / 0.8185 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.6542, allocations: 245.4 kB / 0.8187 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.6566, allocations: 0.6315 MB / 0.8193 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.6595, allocations: 1.286 MB / 0.8206 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.6622, allocations: 2.415 MB / 0.8229 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.6641, allocations: 1.584 MB / 0.8245 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.6656, allocations: 1.067 MB / 0.8255 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.667, allocations: 1.19 MB / 0.8267 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.6674, allocations: 296 kB / 0.827 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.6687, allocations: 0.6831 MB / 0.8276 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005467/0.6693, allocations: 0.6349 MB / 0.8282 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.6703, allocations: 1.17 MB / 0.8294 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003713/0.674, allocations: 3.288 MB / 0.8326 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.674, allocations: 4 kB / 0.8326 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.674, allocations: 0 / 0.8326 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.229e-05/0.6741, allocations: 0 / 0.8326 GB, free: 4.949 MB / 0.6544 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.005617/0.6797, allocations: 2.586 MB / 0.8351 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6798, allocations: 8.031 kB / 0.8351 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.6953, allocations: 2.093 MB / 0.8372 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.699, allocations: 1.216 MB / 0.8384 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.6992, allocations: 160.4 kB / 0.8385 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.6997, allocations: 208 kB / 0.8387 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00974/0.7095, allocations: 3.166 MB / 0.8418 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.7096, allocations: 0 / 0.8418 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.7098, allocations: 88 kB / 0.8419 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.7099, allocations: 52 kB / 0.8419 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.7238, allocations: 4.107 MB / 0.846 GB, free: 7.043 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/0.75, allocations: 6.92 MB / 0.8527 GB, free: 36 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.7603, allocations: 2.685 MB / 0.8553 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004967/0.7654, allocations: 1.43 MB / 0.8567 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/0.7663, allocations: 0.5033 MB / 0.8572 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005782/0.7722, allocations: 1.703 MB / 0.8589 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 7.244e-06/0.7722, allocations: 0 / 0.8589 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.01608/0.7883, allocations: 4.197 MB / 0.863 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.7884, allocations: 201.9 kB / 0.8632 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.7899, allocations: 0.862 MB / 0.864 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.7903, allocations: 65.64 kB / 0.8641 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.7909, allocations: 0.6995 MB / 0.8648 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007558/0.7917, allocations: 0.6313 MB / 0.8654 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008712/0.7926, allocations: 363.2 kB / 0.8657 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.7927, allocations: 305.1 kB / 0.866 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/0.7969, allocations: 1.187 MB / 0.8672 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4971/1.294, allocations: 1.357 MB / 0.8685 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00993/1.304, allocations: 2.494 MB / 0.8709 GB, free: 189 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.304, allocations: 4.469 kB / 0.8709 GB, free: 189 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01178/1.316, allocations: 2.952 MB / 0.8738 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/1.316, allocations: 6.094 kB / 0.8738 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.316, allocations: 1.812 kB / 0.8738 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/1.317, allocations: 86.94 kB / 0.8739 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.321, allocations: 0.5711 MB / 0.8745 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.323, allocations: 1.635 MB / 0.8761 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/1.326, allocations: 340.4 kB / 0.8764 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/1.326, allocations: 90.34 kB / 0.8765 GB, free: 186.5 MB / 0.6856 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.001303/1.328, allocations: 413.7 kB / 0.8769 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/1.328, allocations: 142.9 kB / 0.877 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.34, allocations: 3.479 MB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/1.34, allocations: 19.38 kB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.34, allocations: 9.219 kB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.34, allocations: 12.38 kB / 0.8805 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/1.354, allocations: 5.74 MB / 0.8861 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.354, allocations: 3.984 kB / 0.8861 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/1.357, allocations: 0.5441 MB / 0.8866 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/1.358, allocations: 78.06 kB / 0.8867 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/1.358, allocations: 66.55 kB / 0.8867 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/1.36, allocations: 1.668 MB / 0.8884 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.36, allocations: 0 / 0.8884 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.37, allocations: 3.055 MB / 0.8913 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.371, allocations: 0.5007 MB / 0.8918 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/1.372, allocations: 47.41 kB / 0.8919 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.375, allocations: 247.6 kB / 0.8921 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/1.375, allocations: 122.4 kB / 0.8922 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.375, allocations: 87.41 kB / 0.8923 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001237/1.376, allocations: 0.6367 MB / 0.8929 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.376, allocations: 0 / 0.8929 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002674/1.379, allocations: 0.5987 MB / 0.8935 GB, free: 177.4 MB / 0.6856 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.002283/1.381, allocations: 0.6526 MB / 0.8942 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.392, allocations: 2.986 MB / 0.8971 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.392, allocations: 0 / 0.8971 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/1.397, allocations: 1.659 MB / 0.8987 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.399, allocations: 353.3 kB / 0.899 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.41, allocations: 3.918 MB / 0.9029 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.411, allocations: 1.369 MB / 0.9042 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003285/1.414, allocations: 0.5534 MB / 0.9047 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.415, allocations: 214.8 kB / 0.9049 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.415, allocations: 4 kB / 0.9049 GB, free: 171 MB / 0.6856 GB Notification: Performance of Templates: time 0.04294/1.458, allocations: 28.29 MB / 0.9326 GB, free: 144.2 MB / 0.6856 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)