Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 104.7 kB / 16.4 MB, free: 6.508 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.001068/0.001068, allocations: 196 kB / 17.34 MB, free: 5.742 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 70.77 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007252/0.1653, allocations: 5.372 MB / 0.6373 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6261/0.7915, allocations: 150.8 MB / 0.7846 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009695/0.7925, allocations: 16.69 kB / 0.7846 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.7932, allocations: 210 kB / 0.7848 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.795, allocations: 0.5715 MB / 0.7854 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.7971, allocations: 0.9481 MB / 0.7863 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.7988, allocations: 1.618 MB / 0.7879 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.7998, allocations: 0.7447 MB / 0.7886 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007365/0.8006, allocations: 0.5999 MB / 0.7892 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.8012, allocations: 0.6474 MB / 0.7898 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.8015, allocations: 143.7 kB / 0.79 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.8025, allocations: 0.5194 MB / 0.7905 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.8028, allocations: 356.4 kB / 0.7908 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.8033, allocations: 0.6782 MB / 0.7915 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.8053, allocations: 1.921 MB / 0.7934 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8053, allocations: 0 / 0.7934 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8053, allocations: 0 / 0.7934 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.8054, allocations: 2.625 kB / 0.7934 GB, free: 13.35 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003498/0.8089, allocations: 1.677 MB / 0.795 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.8089, allocations: 7.406 kB / 0.795 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.8141, allocations: 0.7524 MB / 0.7957 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.8157, allocations: 0.8308 MB / 0.7966 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.8158, allocations: 87.16 kB / 0.7966 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.816, allocations: 104.9 kB / 0.7967 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.8192, allocations: 1.435 MB / 0.7981 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.8193, allocations: 2.016 kB / 0.7981 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.8194, allocations: 46.97 kB / 0.7982 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.8195, allocations: 31.41 kB / 0.7982 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/0.8242, allocations: 1.886 MB / 0.8001 GB, free: 11.49 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006734/0.831, allocations: 3.502 MB / 0.8035 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/0.8342, allocations: 1.38 MB / 0.8048 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.8357, allocations: 0.6072 MB / 0.8054 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/0.8364, allocations: 479.9 kB / 0.8059 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.8383, allocations: 0.8007 MB / 0.8067 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 2.545e-06/0.8383, allocations: 0 / 0.8067 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.007634/0.846, allocations: 1.977 MB / 0.8086 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.8461, allocations: 201.9 kB / 0.8088 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.8472, allocations: 0.6492 MB / 0.8094 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.8473, allocations: 48.61 kB / 0.8095 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.8477, allocations: 441.4 kB / 0.8099 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.8482, allocations: 354.8 kB / 0.8102 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.8486, allocations: 208.1 kB / 0.8104 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.8488, allocations: 394.9 kB / 0.8108 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.8504, allocations: 0.5011 MB / 0.8113 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.8521, allocations: 0.612 MB / 0.8119 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.855, allocations: 1.083 MB / 0.8129 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.855, allocations: 9.188 kB / 0.813 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004042/0.8591, allocations: 1.38 MB / 0.8143 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.8591, allocations: 6.938 kB / 0.8143 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8592, allocations: 0 / 0.8143 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.8598, allocations: 82.8 kB / 0.8144 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.8612, allocations: 269.5 kB / 0.8146 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.8634, allocations: 1.631 MB / 0.8162 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.865, allocations: 165.5 kB / 0.8164 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.8652, allocations: 47.55 kB / 0.8164 GB, free: 2.289 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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.0006671/0.8658, allocations: 291.3 kB / 0.8167 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.8661, allocations: 102.5 kB / 0.8168 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.8707, allocations: 1.668 MB / 0.8184 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8707, allocations: 12.62 kB / 0.8185 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8707, allocations: 0 / 0.8185 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.8708, allocations: 3.984 kB / 0.8185 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.8768, allocations: 2.807 MB / 0.8212 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8768, allocations: 3.938 kB / 0.8212 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.8781, allocations: 251.6 kB / 0.8214 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.8786, allocations: 74.44 kB / 0.8215 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.8787, allocations: 36.09 kB / 0.8215 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.8807, allocations: 1.665 MB / 0.8232 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8807, allocations: 5.422 kB / 0.8232 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.8851, allocations: 1.523 MB / 0.8247 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.8858, allocations: 325.1 kB / 0.825 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.8859, allocations: 20.88 kB / 0.825 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.8872, allocations: 122.8 kB / 0.8251 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.8874, allocations: 85.19 kB / 0.8252 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.8875, allocations: 49.47 kB / 0.8252 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006684/0.8882, allocations: 476.1 kB / 0.8257 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8882, allocations: 4 kB / 0.8257 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001292/0.8895, allocations: 397.9 kB / 0.8261 GB, free: 11.97 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001466/0.891, allocations: 0.6258 MB / 0.8267 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.8949, allocations: 1.402 MB / 0.8281 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8949, allocations: 8 kB / 0.8281 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.8969, allocations: 0.8047 MB / 0.8289 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.8984, allocations: 320.7 kB / 0.8292 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.903, allocations: 2.091 MB / 0.8312 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.9039, allocations: 1.08 MB / 0.8323 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001354/0.9052, allocations: 339.8 kB / 0.8326 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.9057, allocations: 127.4 kB / 0.8327 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.9057, allocations: 0 / 0.8327 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.03174/0.9375, allocations: 18.48 MB / 0.8507 GB, free: 3.602 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)