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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.354/2.354, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 69.47 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2218, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006114/0.2279, allocations: 5.396 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.3577, allocations: 150.8 MB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.3585, allocations: 23.88 kB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.3591, allocations: 214 kB / 1.206 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.3608, allocations: 0.5707 MB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.3627, allocations: 0.941 MB / 1.207 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3642, allocations: 1.608 MB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000906/0.3651, allocations: 0.7435 MB / 1.209 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.3658, allocations: 0.5918 MB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.3665, allocations: 0.6458 MB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.3667, allocations: 140 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007676/0.3675, allocations: 0.4996 MB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.3678, allocations: 358.9 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.3684, allocations: 0.6802 MB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.37, allocations: 1.865 MB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.37, allocations: 0 / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.37, allocations: 0 / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.3701, allocations: 0 / 1.214 GB, free: 2.574 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.00285/0.3729, allocations: 1.677 MB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.373, allocations: 12.03 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.3731, allocations: 165.1 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/0.3781, allocations: 0.7601 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3792, allocations: 0.816 MB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.3792, allocations: 82.2 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3794, allocations: 104 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.3823, allocations: 1.436 MB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3823, allocations: 0 / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.3824, allocations: 44 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.3824, allocations: 31.94 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004258/0.3867, allocations: 1.889 MB / 1.221 GB, free: 11.38 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.005434/0.3921, allocations: 3.537 MB / 1.224 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.3953, allocations: 1.38 MB / 1.226 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3968, allocations: 0.5972 MB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.3974, allocations: 486.5 kB / 1.227 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.3991, allocations: 0.801 MB / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 2.304e-06/0.3991, allocations: 0 / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.005704/0.4048, allocations: 1.977 MB / 1.23 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.4049, allocations: 192.9 kB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.4056, allocations: 0.6489 MB / 1.23 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/0.4057, allocations: 45.7 kB / 1.23 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.406, allocations: 444.5 kB / 1.231 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.4062, allocations: 354.8 kB / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/0.4065, allocations: 194.5 kB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4067, allocations: 398.7 kB / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.408, allocations: 489.7 kB / 1.232 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.4095, allocations: 0.6086 MB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.4123, allocations: 1.062 MB / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4123, allocations: 3.938 kB / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003575/0.4158, allocations: 1.329 MB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4159, allocations: 8 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4159, allocations: 0 / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.4164, allocations: 80.91 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4177, allocations: 263.7 kB / 1.235 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.4195, allocations: 1.638 MB / 1.237 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4206, allocations: 152.9 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.4207, allocations: 39.97 kB / 1.237 GB, free: 10.14 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.0003735/0.4211, allocations: 298.4 kB / 1.238 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.4213, allocations: 90.88 kB / 1.238 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.4255, allocations: 1.684 MB / 1.239 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4255, allocations: 12 kB / 1.239 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4255, allocations: 0 / 1.239 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4256, allocations: 7.922 kB / 1.239 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.4307, allocations: 2.805 MB / 1.242 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4307, allocations: 4 kB / 1.242 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.4319, allocations: 259.6 kB / 1.242 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.4323, allocations: 72.78 kB / 1.242 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/0.4324, allocations: 35.97 kB / 1.242 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.434, allocations: 1.662 MB / 1.244 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.434, allocations: 0 / 1.244 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.4377, allocations: 1.531 MB / 1.245 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.4381, allocations: 315.5 kB / 1.246 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4383, allocations: 31.91 kB / 1.246 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4394, allocations: 119.9 kB / 1.246 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.4396, allocations: 88.88 kB / 1.246 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.4396, allocations: 43.97 kB / 1.246 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004806/0.4401, allocations: 483 kB / 1.247 GB, free: 360 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4401, allocations: 0 / 1.247 GB, free: 360 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.3801/0.8203, allocations: 390.9 kB / 1.247 GB, free: 192.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.005572/0.8259, allocations: 2.596 MB / 1.249 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004305/0.8302, allocations: 1.622 MB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8302, allocations: 0 / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.8319, allocations: 0.824 MB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8331, allocations: 325.6 kB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.8468, allocations: 8.48 MB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.8474, allocations: 1.082 MB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001306/0.8487, allocations: 333 kB / 1.262 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.8494, allocations: 465.8 kB / 1.262 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.8494, allocations: 4 kB / 1.262 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/2.009, allocations: 25.34 MB / 1.287 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/14.3, allocations: 11.39 kB / 1.287 GB, free: 180.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)