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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.0008312/0.0008312, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005143/0.005143, allocations: 171.8 kB / 16.27 MB, free: 6.324 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.165/1.165, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.377/2.377, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 15.23 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004984/0.2444, allocations: 4.743 MB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1331/0.3775, allocations: 146.8 MB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.3782, allocations: 23.88 kB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.3787, allocations: 150.8 kB / 1.207 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.3802, allocations: 498.3 kB / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3818, allocations: 0.7438 MB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.3831, allocations: 1.354 MB / 1.209 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.3839, allocations: 0.6237 MB / 1.21 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.3845, allocations: 370.2 kB / 1.21 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.385, allocations: 405.7 kB / 1.211 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.3851, allocations: 32 kB / 1.211 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.3858, allocations: 395.6 kB / 1.211 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.386, allocations: 191 kB / 1.211 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.3864, allocations: 0.4987 MB / 1.212 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3878, allocations: 1.6 MB / 1.213 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3879, allocations: 0 / 1.213 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3879, allocations: 0 / 1.213 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.3879, allocations: 0 / 1.213 GB, free: 5.859 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.00212/0.39, allocations: 1.286 MB / 1.215 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3901, allocations: 12.03 kB / 1.215 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.3902, allocations: 144.2 kB / 1.215 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3912, allocations: 223.3 kB / 1.215 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009094/0.3922, allocations: 0.7653 MB / 1.216 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3922, allocations: 77.98 kB / 1.216 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3924, allocations: 92 kB / 1.216 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3939, allocations: 1.016 MB / 1.217 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3939, allocations: 0 / 1.217 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.394, allocations: 40 kB / 1.217 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.394, allocations: 24 kB / 1.217 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.3958, allocations: 1.186 MB / 1.218 GB, free: 0.8672 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.003734/0.3995, allocations: 3.003 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.4011, allocations: 0.9315 MB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.4016, allocations: 326.6 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.4022, allocations: 470.1 kB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.4031, allocations: 0.5031 MB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.883e-06/0.4031, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003019/0.4061, allocations: 1.252 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.4062, allocations: 192.6 kB / 1.225 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.4069, allocations: 0.6411 MB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.4069, allocations: 41.7 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.4072, allocations: 420.2 kB / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4074, allocations: 276.1 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.4075, allocations: 57.69 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4076, allocations: 382.8 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.4082, allocations: 269.8 kB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.4088, allocations: 378.5 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.4098, allocations: 0.6073 MB / 1.228 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4098, allocations: 0 / 1.228 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001745/0.4116, allocations: 0.8331 MB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4116, allocations: 8.078 kB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4116, allocations: 8 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.4122, allocations: 76.78 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.4128, allocations: 163.7 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.4147, allocations: 1.526 MB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4154, allocations: 105.3 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.4154, allocations: 31.98 kB / 1.23 GB, free: 3.867 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.0003693/0.4158, allocations: 277.5 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4159, allocations: 82.97 kB / 1.231 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.4183, allocations: 1.113 MB / 1.232 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4183, allocations: 15.94 kB / 1.232 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4183, allocations: 0 / 1.232 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4183, allocations: 11.92 kB / 1.232 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.4214, allocations: 2.02 MB / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4214, allocations: 0 / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.4219, allocations: 147.8 kB / 1.234 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.4224, allocations: 88.77 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.4225, allocations: 23.98 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.4241, allocations: 1.551 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4241, allocations: 3.984 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.4259, allocations: 1.031 MB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.4263, allocations: 287.7 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4264, allocations: 24 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.4271, allocations: 87.92 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4272, allocations: 68.89 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.4273, allocations: 35.98 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004883/0.4278, allocations: 471 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4278, allocations: 0 / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007687/0.4285, allocations: 347 kB / 1.238 GB, free: 11.96 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.003196/0.4317, allocations: 2.1 MB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.4332, allocations: 0.8234 MB / 1.241 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4333, allocations: 192 / 1.241 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.4341, allocations: 0.5354 MB / 1.241 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4353, allocations: 282.2 kB / 1.241 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4458, allocations: 7.12 MB / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.4463, allocations: 1.044 MB / 1.249 GB, free: 4 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.4044/0.8507, allocations: 274.8 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.8513, allocations: 403.8 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.8514, allocations: 0 / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.992/8.843, allocations: 21.13 MB / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/8.844, allocations: 330.5 kB / 1.271 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/10.96, allocations: 1.062 kB / 1.271 GB, free: 184.7 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)