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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001654/0.001654, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.11 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3914, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00805/0.3995, allocations: 5.39 MB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.5924, allocations: 148.5 MB / 1.218 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.5939, allocations: 19.88 kB / 1.218 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009162/0.5949, allocations: 154.8 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.5982, allocations: 0.4967 MB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.602, allocations: 0.8244 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.6051, allocations: 1.507 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.6066, allocations: 0.726 MB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.6079, allocations: 0.5098 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.6089, allocations: 0.6066 MB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.6091, allocations: 80 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.6106, allocations: 435.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.611, allocations: 294.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008745/0.6119, allocations: 0.6022 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.6148, allocations: 1.811 MB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6148, allocations: 3.938 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6149, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.6149, allocations: 0 / 1.226 GB, free: 8.289 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.004781/0.6197, allocations: 1.67 MB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.6198, allocations: 8.031 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007753/0.6275, allocations: 0.76 MB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.6297, allocations: 0.8124 MB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.6298, allocations: 82.2 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.6301, allocations: 104 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/0.6354, allocations: 1.432 MB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.6354, allocations: 4 kB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.6357, allocations: 48 kB / 1.23 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.6357, allocations: 28 kB / 1.231 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.6432, allocations: 1.889 MB / 1.232 GB, free: 1.281 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.01095/0.6542, allocations: 3.539 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/0.6598, allocations: 1.373 MB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.6624, allocations: 0.6032 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.6635, allocations: 482.5 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003422/0.667, allocations: 0.8049 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 5.47e-06/0.667, allocations: 0 / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.009171/0.6762, allocations: 1.977 MB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.6764, allocations: 188.9 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.6774, allocations: 0.6567 MB / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.6775, allocations: 45.7 kB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.6779, allocations: 436.5 kB / 1.242 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.6783, allocations: 362.8 kB / 1.243 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.6786, allocations: 202.5 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6788, allocations: 398.7 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.6804, allocations: 0.5055 MB / 1.244 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.682, allocations: 0.6169 MB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.685, allocations: 1.082 MB / 1.245 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.685, allocations: 0 / 1.245 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00427/0.6893, allocations: 1.379 MB / 1.247 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.6894, allocations: 4 kB / 1.247 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6894, allocations: 0 / 1.247 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.6901, allocations: 84.91 kB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.6915, allocations: 275.5 kB / 1.247 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.6938, allocations: 1.524 MB / 1.248 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.6954, allocations: 164.8 kB / 1.249 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.6955, allocations: 51.95 kB / 1.249 GB, free: 16 kB / 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.7565/1.452, allocations: 287.4 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.452, allocations: 92.27 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/1.458, allocations: 1.679 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.458, allocations: 19.48 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.458, allocations: 0.6562 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/1.458, allocations: 6.453 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/1.467, allocations: 2.795 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.467, allocations: 0 / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.468, allocations: 252.3 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/1.469, allocations: 83.73 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.469, allocations: 40.45 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.471, allocations: 1.556 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.471, allocations: 0 / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/1.475, allocations: 1.528 MB / 1.257 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/1.476, allocations: 315.3 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.476, allocations: 28.88 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.477, allocations: 121.6 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.477, allocations: 88.7 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.477, allocations: 45.62 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006591/1.478, allocations: 473.3 kB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.478, allocations: 6.438 kB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0013/1.479, allocations: 406.5 kB / 1.258 GB, free: 180.8 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.001499/1.481, allocations: 0.6203 MB / 1.259 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00376/1.485, allocations: 1.391 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.485, allocations: 0 / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.487, allocations: 0.8098 MB / 1.261 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.488, allocations: 286.3 kB / 1.261 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/1.493, allocations: 2.623 MB / 1.264 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/1.494, allocations: 1.084 MB / 1.265 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001644/1.495, allocations: 347.3 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/1.496, allocations: 122.6 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.496, allocations: 0.6562 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0431/1.539, allocations: 17.54 MB / 1.282 GB, free: 172.9 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)