Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001032/0.001032, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007923/0.007923, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8.562 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006411/0.3792, allocations: 4.948 MB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5656, allocations: 146.9 MB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5668, allocations: 19.88 kB / 1.222 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.5674, allocations: 150.8 kB / 1.223 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.5694, allocations: 0.501 MB / 1.223 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.5718, allocations: 0.8211 MB / 1.224 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.5738, allocations: 1.511 MB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.5749, allocations: 0.7065 MB / 1.226 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008817/0.5758, allocations: 430.1 kB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.5765, allocations: 0.4896 MB / 1.227 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.5766, allocations: 36 kB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5776, allocations: 399.6 kB / 1.227 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.5779, allocations: 219 kB / 1.228 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.5785, allocations: 0.553 MB / 1.228 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.5806, allocations: 1.752 MB / 1.23 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5806, allocations: 0 / 1.23 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5806, allocations: 0 / 1.23 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.5806, allocations: 0 / 1.23 GB, free: 7.496 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.002936/0.5836, allocations: 1.408 MB / 1.231 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5836, allocations: 8.031 kB / 1.231 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/0.5892, allocations: 0.8303 MB / 1.232 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.5908, allocations: 0.8162 MB / 1.233 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.5909, allocations: 78.2 kB / 1.233 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.5911, allocations: 108 kB / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.5947, allocations: 1.459 MB / 1.234 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.5948, allocations: 0 / 1.234 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.5949, allocations: 48 kB / 1.234 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5949, allocations: 32 kB / 1.235 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/0.5999, allocations: 1.94 MB / 1.236 GB, free: 0.5977 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.00729/0.6072, allocations: 3.575 MB / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.6107, allocations: 1.381 MB / 1.241 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.6124, allocations: 0.605 MB / 1.242 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.6131, allocations: 482.5 kB / 1.242 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002012/0.6152, allocations: 0.836 MB / 1.243 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.856e-06/0.6152, allocations: 0 / 1.243 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006553/0.6217, allocations: 1.996 MB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.6219, allocations: 196.9 kB / 1.245 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.6229, allocations: 0.645 MB / 1.246 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.623, allocations: 45.7 kB / 1.246 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.6234, allocations: 436.5 kB / 1.246 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.6238, allocations: 362.7 kB / 1.247 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.624, allocations: 89.67 kB / 1.247 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.6242, allocations: 398.7 kB / 1.247 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.6257, allocations: 0.5055 MB / 1.248 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.6274, allocations: 0.617 MB / 1.248 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.6304, allocations: 1.097 MB / 1.249 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6305, allocations: 0 / 1.249 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004194/0.6347, allocations: 1.399 MB / 1.251 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.6347, allocations: 4 kB / 1.251 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6347, allocations: 0 / 1.251 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.6354, allocations: 92.83 kB / 1.251 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.6369, allocations: 271.6 kB / 1.251 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.806/1.443, allocations: 1.519 MB / 1.253 GB, free: 33.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.445, allocations: 179 kB / 1.253 GB, free: 33.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.445, allocations: 49.97 kB / 1.253 GB, free: 33.84 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.0007387/1.446, allocations: 290.8 kB / 1.253 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.446, allocations: 94.02 kB / 1.253 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/1.451, allocations: 1.696 MB / 1.255 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.451, allocations: 11.41 kB / 1.255 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.451, allocations: 1.609 kB / 1.255 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/1.451, allocations: 7.031 kB / 1.255 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/1.458, allocations: 2.809 MB / 1.258 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/1.458, allocations: 0.9688 kB / 1.258 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.459, allocations: 259.8 kB / 1.258 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/1.46, allocations: 87.34 kB / 1.258 GB, free: 33.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/1.46, allocations: 35.33 kB / 1.258 GB, free: 33.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/1.461, allocations: 1.547 MB / 1.259 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.461, allocations: 0.75 kB / 1.259 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/1.466, allocations: 1.544 MB / 1.261 GB, free: 31.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/1.466, allocations: 336.1 kB / 1.261 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.466, allocations: 25.44 kB / 1.261 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.468, allocations: 146 kB / 1.261 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.468, allocations: 85.66 kB / 1.261 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.836e-05/1.468, allocations: 50.03 kB / 1.262 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005605/1.468, allocations: 471.7 kB / 1.262 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 1.875 kB / 1.262 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00113/1.47, allocations: 400 kB / 1.262 GB, free: 31.51 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.001407/1.471, allocations: 0.6417 MB / 1.263 GB, free: 31.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003745/1.475, allocations: 1.404 MB / 1.264 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.475, allocations: 6.844 kB / 1.264 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/1.477, allocations: 0.824 MB / 1.265 GB, free: 31.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.478, allocations: 285.5 kB / 1.265 GB, free: 31.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/1.483, allocations: 2.64 MB / 1.268 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.484, allocations: 1.083 MB / 1.269 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001514/1.485, allocations: 348.5 kB / 1.269 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/1.486, allocations: 121.1 kB / 1.27 GB, free: 28.93 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.486, allocations: 0 / 1.27 GB, free: 28.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.0389/1.525, allocations: 17.44 MB / 1.287 GB, free: 27.77 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)