Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001348/0.001348, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001493/0.001493, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.98 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3689, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.01068/0.3797, allocations: 5.379 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2345/0.6143, allocations: 148.6 MB / 1.218 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.6157, allocations: 23.81 kB / 1.218 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.6169, allocations: 158.8 kB / 1.218 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.6199, allocations: 0.509 MB / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.6227, allocations: 0.8487 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.6252, allocations: 1.608 MB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.6266, allocations: 0.7473 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.6277, allocations: 0.5801 MB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6287, allocations: 0.6497 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.6292, allocations: 144 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.6305, allocations: 0.4996 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.631, allocations: 358.9 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.632, allocations: 0.6763 MB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.6347, allocations: 1.873 MB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6347, allocations: 0 / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6347, allocations: 0 / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.962e-05/0.6348, allocations: 0 / 1.227 GB, free: 7.52 MB / 0.9825 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.004163/0.639, allocations: 1.672 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.639, allocations: 8.031 kB / 1.228 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005405/0.6444, allocations: 0.76 MB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6459, allocations: 0.8084 MB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.315e-05/0.646, allocations: 86.2 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.6463, allocations: 104 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.6499, allocations: 1.432 MB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.65, allocations: 0 / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.6501, allocations: 52 kB / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.6502, allocations: 28 kB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.6549, allocations: 1.882 MB / 1.233 GB, free: 0.5195 MB / 0.9825 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.007053/0.6619, allocations: 3.55 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.6655, allocations: 1.369 MB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.667, allocations: 0.5961 MB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.6677, allocations: 486.5 kB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.6698, allocations: 0.8049 MB / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.126e-06/0.6698, allocations: 0 / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.00641/0.6762, allocations: 1.973 MB / 1.242 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6763, allocations: 196.9 kB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.6778, allocations: 0.6488 MB / 1.243 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.678, allocations: 45.7 kB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.6784, allocations: 440.5 kB / 1.243 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.6787, allocations: 362.8 kB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.6791, allocations: 206.5 kB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6793, allocations: 394.7 kB / 1.244 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.6808, allocations: 0.5055 MB / 1.244 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.6824, allocations: 0.6131 MB / 1.245 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.6853, allocations: 1.082 MB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6853, allocations: 0 / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004109/0.6895, allocations: 1.379 MB / 1.247 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6895, allocations: 5.094 kB / 1.247 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6895, allocations: 4 kB / 1.247 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/0.6902, allocations: 92.77 kB / 1.248 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.6916, allocations: 267.6 kB / 1.248 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6025/1.294, allocations: 1.625 MB / 1.249 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.296, allocations: 164.2 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.296, allocations: 50.02 kB / 1.25 GB, free: 182.1 MB / 0.9981 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.000762/1.297, allocations: 294.9 kB / 1.25 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/1.297, allocations: 93.69 kB / 1.25 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/1.302, allocations: 1.681 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.303, allocations: 11.91 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.303, allocations: 0.875 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/1.303, allocations: 7.219 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/1.309, allocations: 2.787 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.309, allocations: 0 / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.31, allocations: 263.3 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/1.311, allocations: 73.19 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.311, allocations: 40.44 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.313, allocations: 1.659 MB / 1.256 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.313, allocations: 0 / 1.256 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/1.317, allocations: 1.529 MB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/1.318, allocations: 316 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.318, allocations: 31.2 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.319, allocations: 126.7 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.319, allocations: 83.88 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.319, allocations: 45.47 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006662/1.32, allocations: 472 kB / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.32, allocations: 0 / 1.259 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001254/1.321, allocations: 404.8 kB / 1.259 GB, free: 179.6 MB / 0.9981 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.001537/1.323, allocations: 0.63 MB / 1.26 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004783/1.328, allocations: 1.665 MB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.328, allocations: 0 / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.33, allocations: 0.8178 MB / 1.262 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.331, allocations: 318.6 kB / 1.263 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/1.336, allocations: 2.62 MB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/1.337, allocations: 1.086 MB / 1.266 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001828/1.339, allocations: 342.6 kB / 1.267 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.339, allocations: 131.2 kB / 1.267 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.143e-06/1.339, allocations: 0 / 1.267 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04427/1.383, allocations: 18.21 MB / 1.284 GB, free: 171.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)