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.01277/0.01277, allocations: 101.1 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.002884/0.002884, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.487/1.487, allocations: 222.9 MB / 240.3 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.06 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1882, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008327/0.1966, allocations: 6.059 MB / 0.6656 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6306/0.8273, allocations: 151.5 MB / 0.8135 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.8286, allocations: 22.25 kB / 0.8135 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.8294, allocations: 250 kB / 0.8137 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.8315, allocations: 0.628 MB / 0.8143 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.8345, allocations: 1.283 MB / 0.8156 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00352/0.8381, allocations: 2.422 MB / 0.818 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.8404, allocations: 1.579 MB / 0.8195 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.8428, allocations: 1.061 MB / 0.8205 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.8449, allocations: 1.191 MB / 0.8217 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.8455, allocations: 297.6 kB / 0.822 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.8472, allocations: 0.6775 MB / 0.8226 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/0.8478, allocations: 0.6455 MB / 0.8233 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.849, allocations: 1.167 MB / 0.8244 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.853, allocations: 3.29 MB / 0.8276 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.853, allocations: 1.062 kB / 0.8276 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.874e-06/0.853, allocations: 1.125 kB / 0.8276 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.163e-05/0.853, allocations: 0 / 0.8276 GB, free: 2.891 MB / 0.6387 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.005469/0.8585, allocations: 2.585 MB / 0.8302 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8586, allocations: 12.33 kB / 0.8302 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.873, allocations: 2.096 MB / 0.8322 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.8758, allocations: 1.218 MB / 0.8334 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.876, allocations: 166.8 kB / 0.8336 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.8766, allocations: 208.8 kB / 0.8338 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/0.8841, allocations: 3.16 MB / 0.8368 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.8842, allocations: 0.7188 kB / 0.8368 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.8844, allocations: 87.5 kB / 0.8369 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.8845, allocations: 53.47 kB / 0.837 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.8955, allocations: 4.1 MB / 0.841 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.9091, allocations: 6.925 MB / 0.8478 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/0.9168, allocations: 2.693 MB / 0.8504 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.9207, allocations: 1.427 MB / 0.8518 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/0.9215, allocations: 0.5058 MB / 0.8523 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004259/0.9258, allocations: 1.69 MB / 0.8539 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=195): time 5.33e-06/0.9258, allocations: 0 / 0.8539 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195): time 0.01294/0.9387, allocations: 4.198 MB / 0.858 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.9389, allocations: 200.8 kB / 0.8582 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.9402, allocations: 0.8657 MB / 0.8591 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.9404, allocations: 57.89 kB / 0.8591 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.9411, allocations: 0.7016 MB / 0.8598 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/0.9417, allocations: 0.6293 MB / 0.8604 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007588/0.9425, allocations: 364.7 kB / 0.8608 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9426, allocations: 305.1 kB / 0.861 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/0.9463, allocations: 1.188 MB / 0.8622 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/0.9504, allocations: 1.363 MB / 0.8635 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00738/0.9578, allocations: 2.494 MB / 0.866 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9578, allocations: 0 / 0.866 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009139/0.9669, allocations: 2.955 MB / 0.8689 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.967, allocations: 4.938 kB / 0.8689 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.967, allocations: 1.906 kB / 0.8689 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.9676, allocations: 88.89 kB / 0.869 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/0.971, allocations: 0.5783 MB / 0.8695 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.9731, allocations: 1.628 MB / 0.8711 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.976, allocations: 334.1 kB / 0.8714 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.9763, allocations: 100.3 kB / 0.8715 GB, free: 7.402 MB / 0.6544 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.001011/0.9773, allocations: 409.6 kB / 0.8719 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.9777, allocations: 143.9 kB / 0.8721 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9881, allocations: 3.479 MB / 0.8754 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.9881, allocations: 25 kB / 0.8755 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9882, allocations: 0 / 0.8755 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.9882, allocations: 11.95 kB / 0.8755 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.001, allocations: 5.751 MB / 0.8811 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.001, allocations: 0 / 0.8811 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/1.005, allocations: 0.5492 MB / 0.8816 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/1.005, allocations: 78.89 kB / 0.8817 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.005, allocations: 67.92 kB / 0.8818 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.007, allocations: 1.66 MB / 0.8834 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.007, allocations: 0 / 0.8834 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009037/1.016, allocations: 3.057 MB / 0.8864 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.018, allocations: 0.5024 MB / 0.8869 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/1.018, allocations: 43.88 kB / 0.8869 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.02, allocations: 251.7 kB / 0.8872 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/1.021, allocations: 125 kB / 0.8873 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.021, allocations: 83.91 kB / 0.8874 GB, free: 10.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001001/1.022, allocations: 0.6388 MB / 0.888 GB, free: 10.17 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/1.022, allocations: 0 / 0.888 GB, free: 10.17 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001917/1.024, allocations: 0.5997 MB / 0.8886 GB, free: 9.566 MB / 0.67 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.001558/1.026, allocations: 0.6532 MB / 0.8892 GB, free: 9.168 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008919/1.034, allocations: 2.985 MB / 0.8921 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.034, allocations: 256 / 0.8921 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/1.039, allocations: 1.658 MB / 0.8937 GB, free: 4.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.041, allocations: 344.4 kB / 0.8941 GB, free: 4.254 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/1.05, allocations: 3.905 MB / 0.8979 GB, free: 336 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.051, allocations: 1.379 MB / 0.8992 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002861/1.054, allocations: 0.5466 MB / 0.8998 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009784/1.055, allocations: 219.2 kB / 0.9 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/1.055, allocations: 0 / 0.9 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of Templates: time 0.04981/1.105, allocations: 28.29 MB / 0.9276 GB, free: 2.156 MB / 0.7012 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)