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.005792/0.005792, allocations: 98.44 kB / 15.73 MB, free: 6.035 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.0012/0.0012, allocations: 195.7 kB / 16.67 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7297/0.7297, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.91 kB / 0.5813 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.493, allocations: 80.2 MB / 0.6596 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007091/0.5001, allocations: 6.059 MB / 0.6656 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.6798, allocations: 151.4 MB / 0.8135 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.6819, allocations: 19.94 kB / 0.8135 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.6829, allocations: 249.4 kB / 0.8137 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.6856, allocations: 0.6187 MB / 0.8143 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.6888, allocations: 1.287 MB / 0.8156 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.6917, allocations: 2.423 MB / 0.8179 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.6937, allocations: 1.587 MB / 0.8195 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.6952, allocations: 1.04 MB / 0.8205 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.6965, allocations: 1.196 MB / 0.8217 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.6969, allocations: 296 kB / 0.822 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.6983, allocations: 0.6753 MB / 0.8226 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005873/0.6989, allocations: 0.6426 MB / 0.8233 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.6999, allocations: 1.17 MB / 0.8244 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.7037, allocations: 3.309 MB / 0.8276 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7037, allocations: 0 / 0.8276 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7038, allocations: 0 / 0.8276 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.7038, allocations: 0 / 0.8276 GB, free: 9.605 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.005477/0.7093, allocations: 2.649 MB / 0.8302 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7093, allocations: 12.03 kB / 0.8302 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.7237, allocations: 2.102 MB / 0.8323 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.7266, allocations: 1.224 MB / 0.8335 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.7267, allocations: 164.4 kB / 0.8336 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.7271, allocations: 208 kB / 0.8338 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008318/0.7354, allocations: 3.154 MB / 0.8369 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.7355, allocations: 0 / 0.8369 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.7357, allocations: 92 kB / 0.837 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.7358, allocations: 52 kB / 0.837 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.7479, allocations: 4.095 MB / 0.841 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.7627, allocations: 6.95 MB / 0.8478 GB, free: 4.594 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/0.7708, allocations: 2.693 MB / 0.8505 GB, free: 1.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/0.7749, allocations: 1.434 MB / 0.8519 GB, free: 472 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.7757, allocations: 0.4994 MB / 0.8523 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004517/0.7802, allocations: 1.699 MB / 0.854 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 3.356e-06/0.7802, allocations: 0 / 0.854 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.01372/0.794, allocations: 4.205 MB / 0.8581 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.7942, allocations: 201.9 kB / 0.8583 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.7955, allocations: 0.8618 MB / 0.8591 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.7956, allocations: 57.7 kB / 0.8592 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.7962, allocations: 0.7091 MB / 0.8599 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.7968, allocations: 0.67 MB / 0.8606 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006711/0.7975, allocations: 371.4 kB / 0.8609 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.7976, allocations: 313 kB / 0.8612 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003773/0.8014, allocations: 1.187 MB / 0.8624 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/0.8054, allocations: 1.359 MB / 0.8637 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/0.8131, allocations: 2.497 MB / 0.8661 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.8131, allocations: 8 kB / 0.8661 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.4028/1.216, allocations: 2.948 MB / 0.869 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.216, allocations: 6 kB / 0.869 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.216, allocations: 5.531 kB / 0.869 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/1.217, allocations: 88.94 kB / 0.8691 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/1.22, allocations: 0.5695 MB / 0.8697 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/1.222, allocations: 1.632 MB / 0.8713 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.225, allocations: 340.5 kB / 0.8716 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.225, allocations: 94.52 kB / 0.8717 GB, free: 191 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.0009395/1.226, allocations: 413.5 kB / 0.8721 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.226, allocations: 151.8 kB / 0.8722 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.237, allocations: 3.471 MB / 0.8756 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.237, allocations: 19.91 kB / 0.8756 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.237, allocations: 8.594 kB / 0.8756 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/1.237, allocations: 12.03 kB / 0.8756 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.25, allocations: 5.752 MB / 0.8813 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.25, allocations: 1.406 kB / 0.8813 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.253, allocations: 0.5469 MB / 0.8818 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/1.253, allocations: 71.28 kB / 0.8819 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.253, allocations: 69.67 kB / 0.8819 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.255, allocations: 1.665 MB / 0.8836 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.255, allocations: 0 / 0.8836 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/1.264, allocations: 3.062 MB / 0.8865 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/1.265, allocations: 0.509 MB / 0.887 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.265, allocations: 49.8 kB / 0.8871 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.267, allocations: 248.7 kB / 0.8873 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.268, allocations: 118.9 kB / 0.8874 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/1.268, allocations: 83.3 kB / 0.8875 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008279/1.269, allocations: 0.6374 MB / 0.8881 GB, free: 183 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.269, allocations: 0 / 0.8881 GB, free: 183 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001908/1.271, allocations: 0.6072 MB / 0.8887 GB, free: 182.8 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.001443/1.272, allocations: 0.6498 MB / 0.8894 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008781/1.281, allocations: 2.996 MB / 0.8923 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.281, allocations: 1.031 kB / 0.8923 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/1.285, allocations: 1.663 MB / 0.8939 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.287, allocations: 345.6 kB / 0.8943 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/1.297, allocations: 3.977 MB / 0.8981 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/1.297, allocations: 1.371 MB / 0.8995 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002511/1.3, allocations: 0.5473 MB / 0.9 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/1.301, allocations: 222.6 kB / 0.9002 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.301, allocations: 0 / 0.9002 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.03508/1.336, allocations: 28.29 MB / 0.9278 GB, free: 153.2 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)