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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 404.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009776, allocations: 110 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009877/0.0009877, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1355, allocations: 80.43 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007716/0.1433, allocations: 6.021 MB / 0.648 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4413/0.5846, allocations: 149.1 MB / 0.7936 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.5854, allocations: 23.88 kB / 0.7937 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.5861, allocations: 181.1 kB / 0.7938 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.5876, allocations: 0.5069 MB / 0.7943 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.5899, allocations: 1.149 MB / 0.7955 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.5919, allocations: 2.252 MB / 0.7976 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.5937, allocations: 1.53 MB / 0.7991 GB, free: 208 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.5948, allocations: 0.895 MB / 0.8 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.5959, allocations: 1.085 MB / 0.8011 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.5961, allocations: 156 kB / 0.8012 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.5971, allocations: 0.5034 MB / 0.8017 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000428/0.5975, allocations: 0.498 MB / 0.8022 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.5984, allocations: 1.029 MB / 0.8032 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.6009, allocations: 3.096 MB / 0.8062 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.6009, allocations: 0 / 0.8062 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6009, allocations: 0 / 0.8062 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.601, allocations: 0 / 0.8062 GB, free: 8.922 MB / 0.5417 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.004844/0.6058, allocations: 2.586 MB / 0.8088 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6059, allocations: 8.031 kB / 0.8088 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.6213, allocations: 2.093 MB / 0.8108 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.6235, allocations: 1.197 MB / 0.812 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.6237, allocations: 168.3 kB / 0.8121 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.624, allocations: 208 kB / 0.8123 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007982/0.632, allocations: 3.15 MB / 0.8154 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.632, allocations: 4 kB / 0.8154 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.6323, allocations: 92 kB / 0.8155 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.6324, allocations: 52.5 kB / 0.8156 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.6448, allocations: 4.095 MB / 0.8196 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.6593, allocations: 7.017 MB / 0.8264 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00888/0.6682, allocations: 2.688 MB / 0.829 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/0.6727, allocations: 1.426 MB / 0.8304 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.6735, allocations: 0.5033 MB / 0.8309 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004834/0.6783, allocations: 1.696 MB / 0.8326 GB, free: 13.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=195): time 4.909e-06/0.6783, allocations: 0 / 0.8326 GB, free: 13.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=195): time 0.0147/0.693, allocations: 4.196 MB / 0.8367 GB, free: 9.281 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6932, allocations: 201.9 kB / 0.8369 GB, free: 9.039 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.6944, allocations: 0.8657 MB / 0.8377 GB, free: 8.148 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.6945, allocations: 61.7 kB / 0.8378 GB, free: 8.082 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.6951, allocations: 0.6996 MB / 0.8385 GB, free: 7.371 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005573/0.6957, allocations: 0.6313 MB / 0.8391 GB, free: 6.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007486/0.6964, allocations: 363.2 kB / 0.8394 GB, free: 6.371 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.6965, allocations: 305.1 kB / 0.8397 GB, free: 6.07 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/0.7008, allocations: 1.187 MB / 0.8409 GB, free: 4.883 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/0.7052, allocations: 1.359 MB / 0.8422 GB, free: 3.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008296/0.7135, allocations: 2.497 MB / 0.8446 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.7135, allocations: 3.938 kB / 0.8446 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01003/0.7235, allocations: 2.952 MB / 0.8475 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.7236, allocations: 8 kB / 0.8475 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7236, allocations: 3.75 kB / 0.8475 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.7242, allocations: 84.84 kB / 0.8476 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/0.7279, allocations: 0.5695 MB / 0.8482 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.73, allocations: 1.532 MB / 0.8497 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.7329, allocations: 330.2 kB / 0.85 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.7332, allocations: 95.89 kB / 0.8501 GB, free: 11.26 MB / 0.5886 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.0008785/0.7341, allocations: 414.7 kB / 0.8505 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.7345, allocations: 138.3 kB / 0.8506 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.7459, allocations: 3.477 MB / 0.854 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.746, allocations: 24.11 kB / 0.854 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.746, allocations: 7.938 kB / 0.854 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.746, allocations: 7.969 kB / 0.854 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.7602, allocations: 5.753 MB / 0.8596 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.7602, allocations: 4 kB / 0.8596 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003483/0.7637, allocations: 0.5461 MB / 0.8602 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.7643, allocations: 88.77 kB / 0.8603 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.7645, allocations: 71.86 kB / 0.8603 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.7664, allocations: 1.54 MB / 0.8618 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7664, allocations: 7.969 kB / 0.8618 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.7818, allocations: 5.389 MB / 0.8671 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7829, allocations: 0.5024 MB / 0.8676 GB, free: 9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.7832, allocations: 47.88 kB / 0.8676 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/0.7861, allocations: 243.7 kB / 0.8679 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.7864, allocations: 129.8 kB / 0.868 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/0.7866, allocations: 83.92 kB / 0.8681 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009894/0.7876, allocations: 0.6349 MB / 0.8687 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7876, allocations: 0 / 0.8687 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00181/0.7894, allocations: 0.6036 MB / 0.8693 GB, free: 7.258 MB / 0.6042 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.001577/0.791, allocations: 0.6447 MB / 0.8699 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00973/0.8008, allocations: 2.987 MB / 0.8728 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8008, allocations: 0 / 0.8728 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004967/0.8058, allocations: 1.661 MB / 0.8745 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.8076, allocations: 328.8 kB / 0.8748 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.8189, allocations: 5.832 MB / 0.8805 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.8202, allocations: 1.433 MB / 0.8819 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003779/0.824, allocations: 0.5468 MB / 0.8824 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.8252, allocations: 219.2 kB / 0.8826 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.8252, allocations: 0 / 0.8826 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of Templates: time 0.04664/0.8718, allocations: 27.75 MB / 0.9097 GB, free: 14.05 MB / 0.6511 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)