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.006899/0.0069, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001301/0.001301, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8071/0.8071, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.5813 GB, free: 7.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5794, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007847/0.5874, allocations: 6.056 MB / 0.6656 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.7707, allocations: 151.4 MB / 0.8135 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.7728, allocations: 23.88 kB / 0.8135 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.7739, allocations: 253.4 kB / 0.8137 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.777, allocations: 0.6332 MB / 0.8143 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.78, allocations: 1.294 MB / 0.8156 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.7829, allocations: 2.415 MB / 0.818 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.7849, allocations: 1.58 MB / 0.8195 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.7863, allocations: 1.059 MB / 0.8205 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.7876, allocations: 1.194 MB / 0.8217 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.788, allocations: 303.9 kB / 0.822 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7893, allocations: 0.6754 MB / 0.8227 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.7898, allocations: 0.6426 MB / 0.8233 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.7909, allocations: 1.166 MB / 0.8244 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.7946, allocations: 3.296 MB / 0.8276 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7946, allocations: 0 / 0.8276 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7947, allocations: 0 / 0.8276 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.29e-05/0.7947, allocations: 0 / 0.8276 GB, free: 9.613 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.005634/0.8004, allocations: 2.582 MB / 0.8302 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.8004, allocations: 12.03 kB / 0.8302 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.8159, allocations: 2.097 MB / 0.8322 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.8188, allocations: 1.216 MB / 0.8334 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.8189, allocations: 164.4 kB / 0.8336 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.8193, allocations: 208 kB / 0.8338 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009161/0.8285, allocations: 3.15 MB / 0.8368 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.8286, allocations: 8 kB / 0.8369 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.8288, allocations: 88 kB / 0.8369 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.8289, allocations: 56 kB / 0.837 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.8419, allocations: 4.099 MB / 0.841 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.8595, allocations: 6.924 MB / 0.8478 GB, free: 4.699 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009627/0.8692, allocations: 2.701 MB / 0.8504 GB, free: 2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/0.8738, allocations: 1.426 MB / 0.8518 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009019/0.8748, allocations: 0.4996 MB / 0.8523 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005399/0.8802, allocations: 1.699 MB / 0.8539 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 7.985e-06/0.8802, allocations: 0 / 0.8539 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.01559/0.8958, allocations: 4.189 MB / 0.858 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.896, allocations: 205.9 kB / 0.8582 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.8977, allocations: 0.8658 MB / 0.8591 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.8981, allocations: 57.7 kB / 0.8591 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/0.899, allocations: 0.6995 MB / 0.8598 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/0.8998, allocations: 0.6274 MB / 0.8604 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.9009, allocations: 367.2 kB / 0.8608 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.901, allocations: 321.1 kB / 0.8611 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.9053, allocations: 1.187 MB / 0.8622 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.9099, allocations: 1.359 MB / 0.8636 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00886/0.9188, allocations: 2.493 MB / 0.866 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.9188, allocations: 0 / 0.866 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.4678/1.387, allocations: 2.947 MB / 0.8689 GB, free: 192 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/1.387, allocations: 10.09 kB / 0.8689 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.387, allocations: 2.094 kB / 0.8689 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/1.387, allocations: 89.8 kB / 0.869 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.391, allocations: 0.569 MB / 0.8695 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.394, allocations: 1.631 MB / 0.8711 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/1.397, allocations: 339.4 kB / 0.8714 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/1.398, allocations: 96.75 kB / 0.8715 GB, free: 190.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.001209/1.399, allocations: 407.7 kB / 0.8719 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/1.4, allocations: 144.4 kB / 0.8721 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.412, allocations: 3.48 MB / 0.8755 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/1.412, allocations: 20.41 kB / 0.8755 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.412, allocations: 0.8438 kB / 0.8755 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/1.412, allocations: 12.05 kB / 0.8755 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.426, allocations: 5.756 MB / 0.8811 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.426, allocations: 0 / 0.8811 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/1.43, allocations: 0.5438 MB / 0.8816 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.43, allocations: 76.53 kB / 0.8817 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.43, allocations: 66.91 kB / 0.8818 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.432, allocations: 1.662 MB / 0.8834 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.432, allocations: 3.578 kB / 0.8834 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009575/1.442, allocations: 3.062 MB / 0.8864 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/1.443, allocations: 0.4969 MB / 0.8869 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.443, allocations: 41.75 kB / 0.8869 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.445, allocations: 248.5 kB / 0.8872 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/1.446, allocations: 128.3 kB / 0.8873 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.446, allocations: 82.58 kB / 0.8874 GB, free: 183 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009278/1.447, allocations: 0.6412 MB / 0.888 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.447, allocations: 0 / 0.888 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00182/1.449, allocations: 0.5992 MB / 0.8886 GB, free: 182.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.001508/1.45, allocations: 0.6407 MB / 0.8892 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009543/1.46, allocations: 2.982 MB / 0.8921 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.46, allocations: 1.094 kB / 0.8921 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/1.465, allocations: 1.669 MB / 0.8937 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.467, allocations: 356.3 kB / 0.8941 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.477, allocations: 3.918 MB / 0.8979 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.478, allocations: 1.368 MB / 0.8992 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003262/1.482, allocations: 0.5497 MB / 0.8998 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/1.483, allocations: 217.8 kB / 0.9 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of SimCode: time 9.71e-07/1.483, allocations: 3.5 kB / 0.9 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.04189/1.525, allocations: 28.27 MB / 0.9276 GB, free: 153.1 MB / 0.6856 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)