Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, 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.001162/0.001162, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.213/1.213, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.407/2.407, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.27 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2276, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005799/0.2334, allocations: 5.392 MB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1264/0.3599, allocations: 148.6 MB / 1.203 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.3607, allocations: 19.94 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.3613, allocations: 158.7 kB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.363, allocations: 0.5007 MB / 1.203 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.3648, allocations: 0.8541 MB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3663, allocations: 1.612 MB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008875/0.3672, allocations: 0.7434 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.3678, allocations: 0.5879 MB / 1.207 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007069/0.3686, allocations: 0.6496 MB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.3688, allocations: 144 kB / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.3695, allocations: 0.4996 MB / 1.208 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.3698, allocations: 362.8 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.3704, allocations: 0.6725 MB / 1.209 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.372, allocations: 1.865 MB / 1.211 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.372, allocations: 0 / 1.211 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.372, allocations: 4 kB / 1.211 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.372, allocations: 4 kB / 1.211 GB, free: 5.305 MB / 0.9669 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.002498/0.3745, allocations: 1.679 MB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3746, allocations: 8.031 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.3747, allocations: 169.1 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.3792, allocations: 0.76 MB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.3801, allocations: 0.8122 MB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.3802, allocations: 86.14 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3803, allocations: 104 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.383, allocations: 1.432 MB / 1.216 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.383, allocations: 0 / 1.216 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.3831, allocations: 48 kB / 1.216 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.3831, allocations: 28 kB / 1.216 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.3872, allocations: 1.885 MB / 1.218 GB, free: 14.12 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.005177/0.3923, allocations: 3.539 MB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.3953, allocations: 1.373 MB / 1.223 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.3966, allocations: 0.5972 MB / 1.223 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.3972, allocations: 482.5 kB / 1.224 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/0.3988, allocations: 0.8127 MB / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 2.334e-06/0.3988, allocations: 0 / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.005386/0.4042, allocations: 1.977 MB / 1.227 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4043, allocations: 192.9 kB / 1.227 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.405, allocations: 0.6489 MB / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-05/0.4051, allocations: 49.7 kB / 1.228 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4054, allocations: 432.6 kB / 1.228 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.4057, allocations: 358.8 kB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.406, allocations: 194.4 kB / 1.228 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4061, allocations: 402.7 kB / 1.229 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.4074, allocations: 489.7 kB / 1.229 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.4088, allocations: 0.6086 MB / 1.23 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.4113, allocations: 1.062 MB / 1.231 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4113, allocations: 0 / 1.231 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003398/0.4147, allocations: 1.329 MB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4148, allocations: 8 kB / 1.232 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4148, allocations: 0 / 1.232 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.4153, allocations: 84.89 kB / 1.232 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4165, allocations: 263.6 kB / 1.233 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.4182, allocations: 1.629 MB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4194, allocations: 159.2 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.4195, allocations: 51.91 kB / 1.234 GB, free: 12.86 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: 15 (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 (116): * Single equations (assignments): 115 * 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.0003713/0.4199, allocations: 287 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.42, allocations: 90.88 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.4241, allocations: 1.684 MB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4241, allocations: 12 kB / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4242, allocations: 0 / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4242, allocations: 11.91 kB / 1.236 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.429, allocations: 2.813 MB / 1.239 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.429, allocations: 0 / 1.239 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.4301, allocations: 255.6 kB / 1.239 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.4305, allocations: 76.72 kB / 1.239 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.34e-05/0.4306, allocations: 35.97 kB / 1.24 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.4322, allocations: 1.662 MB / 1.241 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4322, allocations: 0 / 1.241 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.4357, allocations: 1.535 MB / 1.243 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.4361, allocations: 323.5 kB / 1.243 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.4362, allocations: 23.91 kB / 1.243 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.4373, allocations: 125.1 kB / 1.243 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4375, allocations: 84.88 kB / 1.243 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.4376, allocations: 47.97 kB / 1.243 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000456/0.438, allocations: 475 kB / 1.244 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.438, allocations: 0 / 1.244 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007636/0.4388, allocations: 391.1 kB / 1.244 GB, free: 2.703 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.005153/0.444, allocations: 2.617 MB / 1.247 GB, free: 244 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3502/0.7942, allocations: 1.615 MB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7942, allocations: 1.031 kB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.7959, allocations: 0.8164 MB / 1.249 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7971, allocations: 313 kB / 1.249 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.8108, allocations: 8.966 MB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.8113, allocations: 1.084 MB / 1.259 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001201/0.8125, allocations: 350.2 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.8131, allocations: 464.2 kB / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.8131, allocations: 0 / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.591/2.404, allocations: 25.13 MB / 1.284 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/2.405, allocations: 335.2 kB / 1.285 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/6.293, allocations: 0 / 1.285 GB, free: 181.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)