Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 183.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.6859/0.6859, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.353/1.353, allocations: 222.9 MB / 404.7 MB, free: 6.035 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.0009327/0.0009327, allocations: 95.66 kB / 485.9 MB, free: 7.211 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009488/0.0009489, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1202, allocations: 80.42 MB / 0.6421 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005736/0.126, allocations: 4.422 MB / 0.6465 GB, free: 1.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4047/0.5307, allocations: 148.3 MB / 0.7913 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.5315, allocations: 15.94 kB / 0.7914 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.532, allocations: 134.9 kB / 0.7915 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.5334, allocations: 400.8 kB / 0.7919 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.5352, allocations: 0.7868 MB / 0.7926 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.5365, allocations: 1.279 MB / 0.7939 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000993/0.5375, allocations: 0.769 MB / 0.7946 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.5381, allocations: 474.1 kB / 0.7951 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.5387, allocations: 0.5366 MB / 0.7956 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.5388, allocations: 72 kB / 0.7957 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.5396, allocations: 433.3 kB / 0.7961 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.5399, allocations: 271 kB / 0.7963 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.5403, allocations: 0.5398 MB / 0.7969 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.5418, allocations: 1.647 MB / 0.7985 GB, free: 1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5418, allocations: 3.938 kB / 0.7985 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5418, allocations: 3.75 kB / 0.7985 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.5418, allocations: 8 kB / 0.7985 GB, free: 0.9883 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002632/0.5444, allocations: 1.553 MB / 0.8 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5445, allocations: 11.97 kB / 0.8 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.5496, allocations: 0.7523 MB / 0.8008 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5508, allocations: 0.7698 MB / 0.8015 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.5508, allocations: 82.09 kB / 0.8016 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.551, allocations: 100 kB / 0.8017 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.5539, allocations: 1.364 MB / 0.803 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.554, allocations: 0 / 0.803 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5541, allocations: 48 kB / 0.8031 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5541, allocations: 24 kB / 0.8031 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.5588, allocations: 1.838 MB / 0.8049 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.5646, allocations: 3.141 MB / 0.808 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.5678, allocations: 1.271 MB / 0.8092 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5693, allocations: 0.5699 MB / 0.8097 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/0.57, allocations: 478.6 kB / 0.8102 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/0.5718, allocations: 0.7347 MB / 0.8109 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=100): time 2.795e-06/0.5718, allocations: 0 / 0.8109 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of matching and sorting (n=100): time 0.005939/0.5778, allocations: 1.848 MB / 0.8127 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5779, allocations: 188.9 kB / 0.8129 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.5787, allocations: 0.6134 MB / 0.8135 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.549e-05/0.5788, allocations: 45.64 kB / 0.8135 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.5791, allocations: 412.5 kB / 0.8139 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5794, allocations: 339.1 kB / 0.8143 GB, free: 352 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.5797, allocations: 190.4 kB / 0.8144 GB, free: 156 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5799, allocations: 390.8 kB / 0.8148 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.5814, allocations: 477.7 kB / 0.8153 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.5829, allocations: 0.574 MB / 0.8158 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.5859, allocations: 1.023 MB / 0.8168 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5859, allocations: 0 / 0.8168 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003884/0.5898, allocations: 1.298 MB / 0.8181 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5898, allocations: 8 kB / 0.8181 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5898, allocations: 0 / 0.8181 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.5904, allocations: 80.91 kB / 0.8182 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5918, allocations: 255.6 kB / 0.8184 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5938, allocations: 1.51 MB / 0.8199 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5951, allocations: 159.1 kB / 0.8201 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5952, allocations: 46.97 kB / 0.8201 GB, free: 10.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 111 * 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.0004865/0.5957, allocations: 278.9 kB / 0.8204 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5959, allocations: 86.95 kB / 0.8205 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/0.6004, allocations: 1.573 MB / 0.822 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.6005, allocations: 15.98 kB / 0.822 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6005, allocations: 0 / 0.822 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6005, allocations: 3.984 kB / 0.822 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.6068, allocations: 2.727 MB / 0.8247 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6069, allocations: 3.984 kB / 0.8247 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6082, allocations: 251.6 kB / 0.8249 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.6087, allocations: 76.78 kB / 0.825 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.6088, allocations: 39.97 kB / 0.825 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.6107, allocations: 1.54 MB / 0.8265 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6107, allocations: 0 / 0.8265 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.6166, allocations: 2.751 MB / 0.8292 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.617, allocations: 291.6 kB / 0.8295 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.6172, allocations: 27.98 kB / 0.8295 GB, free: 232 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.6183, allocations: 117 kB / 0.8296 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.6184, allocations: 68.91 kB / 0.8297 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.94e-05/0.6185, allocations: 43.91 kB / 0.8297 GB, free: 4 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005197/0.6191, allocations: 447 kB / 0.8302 GB, free: 15.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/0.6191, allocations: 0 / 0.8302 GB, free: 15.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009915/0.6201, allocations: 367 kB / 0.8305 GB, free: 15.21 MB / 0.573 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 (113): * Single equations (assignments): 110 * 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.001344/0.6214, allocations: 0.6331 MB / 0.8311 GB, free: 14.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.625, allocations: 1.3 MB / 0.8324 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.625, allocations: 0 / 0.8324 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.6268, allocations: 0.7734 MB / 0.8332 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.628, allocations: 273.6 kB / 0.8334 GB, free: 12.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.6334, allocations: 3.123 MB / 0.8365 GB, free: 9.242 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.634, allocations: 1.083 MB / 0.8375 GB, free: 8.125 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001336/0.6354, allocations: 327.1 kB / 0.8378 GB, free: 7.801 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.6358, allocations: 119.4 kB / 0.838 GB, free: 7.684 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/0.6358, allocations: 0 / 0.838 GB, free: 7.684 MB / 0.573 GB Notification: Performance of Templates: time 0.02508/0.6609, allocations: 16.96 MB / 0.8545 GB, free: 6.855 MB / 0.5886 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)