Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001321/0.001321, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001222/0.001222, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.204/1.204, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.391/2.391, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.36 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.225, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005667/0.2307, allocations: 5.171 MB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1309/0.3616, allocations: 148.5 MB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/0.3624, allocations: 15.94 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.363, allocations: 158.8 kB / 1.203 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.3647, allocations: 0.489 MB / 1.203 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3664, allocations: 0.7758 MB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3678, allocations: 1.444 MB / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008302/0.3686, allocations: 0.66 MB / 1.206 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.3692, allocations: 0.5178 MB / 1.206 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.3699, allocations: 0.5484 MB / 1.207 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.3701, allocations: 128 kB / 1.207 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.3708, allocations: 487.7 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.3711, allocations: 319 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.3716, allocations: 0.6141 MB / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3733, allocations: 1.71 MB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3733, allocations: 0 / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3733, allocations: 0 / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.142e-05/0.3733, allocations: 4 kB / 1.21 GB, free: 6.527 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002534/0.3759, allocations: 1.508 MB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3759, allocations: 12.62 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.3761, allocations: 148.2 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.3771, allocations: 219.2 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.3781, allocations: 0.7575 MB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.3781, allocations: 73.94 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3783, allocations: 88 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.3799, allocations: 1.016 MB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3799, allocations: 0 / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.38, allocations: 48 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.38, allocations: 24 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.3818, allocations: 1.167 MB / 1.215 GB, free: 1.34 MB / 0.9669 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.003826/0.3856, allocations: 2.977 MB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3871, allocations: 0.9163 MB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.3876, allocations: 314.7 kB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.3882, allocations: 478.1 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.3891, allocations: 0.5029 MB / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.914e-06/0.3891, allocations: 0 / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002976/0.3921, allocations: 1.237 MB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.3922, allocations: 196.5 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.3928, allocations: 0.6411 MB / 1.222 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3929, allocations: 37.7 kB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.3932, allocations: 428.2 kB / 1.223 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.3933, allocations: 264.2 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.3936, allocations: 150.5 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3937, allocations: 390.8 kB / 1.223 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.3942, allocations: 253.9 kB / 1.224 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.3948, allocations: 370.5 kB / 1.224 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3958, allocations: 0.6033 MB / 1.225 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3958, allocations: 0 / 1.225 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001758/0.3976, allocations: 0.8292 MB / 1.225 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3976, allocations: 9.094 kB / 1.225 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3976, allocations: 0 / 1.225 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.3982, allocations: 80.94 kB / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.3988, allocations: 159.8 kB / 1.226 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.4007, allocations: 1.643 MB / 1.227 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.4013, allocations: 103.2 kB / 1.227 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.4014, allocations: 27.98 kB / 1.227 GB, free: 4.219 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 87 * 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.0003224/0.4017, allocations: 269.6 kB / 1.228 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4018, allocations: 90.95 kB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.4041, allocations: 1.093 MB / 1.229 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4041, allocations: 12.08 kB / 1.229 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4042, allocations: 3.984 kB / 1.229 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.4042, allocations: 3.984 kB / 1.229 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.4071, allocations: 2.012 MB / 1.231 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4071, allocations: 7.938 kB / 1.231 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.4077, allocations: 143.8 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.4081, allocations: 80.78 kB / 1.231 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.4082, allocations: 23.98 kB / 1.231 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.4098, allocations: 1.662 MB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4098, allocations: 0 / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4117, allocations: 1.012 MB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.412, allocations: 275.7 kB / 1.234 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4121, allocations: 20 kB / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.4128, allocations: 71.83 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.413, allocations: 80.77 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.413, allocations: 31.98 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004786/0.4135, allocations: 475 kB / 1.234 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4135, allocations: 4 kB / 1.234 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007428/0.4143, allocations: 351.1 kB / 1.235 GB, free: 12.27 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 (93): * Single equations (assignments): 87 * 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.00325/0.4175, allocations: 2.082 MB / 1.237 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.4197, allocations: 1.026 MB / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4197, allocations: 192 / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.4206, allocations: 0.5353 MB / 1.238 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4217, allocations: 300.4 kB / 1.239 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4323, allocations: 7.089 MB / 1.246 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.4328, allocations: 1.044 MB / 1.247 GB, free: 160 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.3666/0.7995, allocations: 260.1 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.8001, allocations: 406.3 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.8001, allocations: 0 / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8464/1.647, allocations: 22.05 MB / 1.269 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/1.647, allocations: 322.4 kB / 1.269 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.926, allocations: 0 / 1.269 GB, free: 187.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)