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 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: "" <> 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.00503/0.00503, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.00139/0.00139, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 68.11 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2702, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006364/0.2766, allocations: 5.155 MB / 1.247 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.643/0.9197, allocations: 150.7 MB / 1.394 GB, free: 1.102 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.9204, allocations: 20.72 kB / 1.394 GB, free: 1.094 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.9209, allocations: 193.8 kB / 1.394 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.9225, allocations: 0.5669 MB / 1.395 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.9242, allocations: 0.8603 MB / 1.396 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.9256, allocations: 1.455 MB / 1.397 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.9264, allocations: 0.6547 MB / 1.398 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.927, allocations: 0.5156 MB / 1.398 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.9276, allocations: 0.5509 MB / 1.399 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.9277, allocations: 124.7 kB / 1.399 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.9285, allocations: 0.5065 MB / 1.399 GB, free: 13.67 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.9288, allocations: 313 kB / 1.4 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.9294, allocations: 0.613 MB / 1.4 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.9312, allocations: 1.759 MB / 1.402 GB, free: 11.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9312, allocations: 0 / 1.402 GB, free: 11.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9312, allocations: 0 / 1.402 GB, free: 11.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.9312, allocations: 0 / 1.402 GB, free: 11.71 MB / 1.107 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.002506/0.9338, allocations: 1.554 MB / 1.404 GB, free: 10.49 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.9338, allocations: 9.719 kB / 1.404 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.934, allocations: 148.2 kB / 1.404 GB, free: 10.37 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.935, allocations: 230.7 kB / 1.404 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.9361, allocations: 0.7835 MB / 1.405 GB, free: 9.609 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.9362, allocations: 72.59 kB / 1.405 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.9363, allocations: 89.59 kB / 1.405 GB, free: 9.551 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.938, allocations: 1.012 MB / 1.406 GB, free: 8.906 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.9381, allocations: 3.938 kB / 1.406 GB, free: 8.902 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.9381, allocations: 41.91 kB / 1.406 GB, free: 8.871 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.9382, allocations: 23.28 kB / 1.406 GB, free: 8.871 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.9401, allocations: 1.178 MB / 1.407 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.9443, allocations: 3.049 MB / 1.41 GB, free: 5.812 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.9461, allocations: 0.9171 MB / 1.411 GB, free: 5.293 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.9467, allocations: 324.7 kB / 1.411 GB, free: 5.125 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.9474, allocations: 472.7 kB / 1.412 GB, free: 4.613 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/0.9482, allocations: 0.4933 MB / 1.412 GB, free: 4.297 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 1.984e-06/0.9483, allocations: 0 / 1.412 GB, free: 4.297 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003194/0.9515, allocations: 1.242 MB / 1.413 GB, free: 3.625 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.9516, allocations: 195.7 kB / 1.414 GB, free: 3.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.9524, allocations: 0.6448 MB / 1.414 GB, free: 3.031 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.9524, allocations: 42.8 kB / 1.414 GB, free: 2.988 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.9528, allocations: 433.7 kB / 1.415 GB, free: 2.609 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.953, allocations: 279.7 kB / 1.415 GB, free: 2.367 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.9533, allocations: 149.2 kB / 1.415 GB, free: 2.277 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.9535, allocations: 388.5 kB / 1.415 GB, free: 1.906 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.954, allocations: 254.7 kB / 1.416 GB, free: 1.781 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.9547, allocations: 373.3 kB / 1.416 GB, free: 1.547 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.9558, allocations: 0.6096 MB / 1.417 GB, free: 1.211 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9558, allocations: 0.875 kB / 1.417 GB, free: 1.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001955/0.9578, allocations: 0.8311 MB / 1.417 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.9578, allocations: 10.06 kB / 1.417 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.9578, allocations: 1.062 kB / 1.417 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.9584, allocations: 81 kB / 1.417 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.959, allocations: 159.4 kB / 1.418 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.9611, allocations: 1.633 MB / 1.419 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.9617, allocations: 97.97 kB / 1.419 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.9618, allocations: 27.42 kB / 1.419 GB, free: 15.02 MB / 1.123 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.0003401/0.9621, allocations: 272.9 kB / 1.42 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.9623, allocations: 88.47 kB / 1.42 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.9647, allocations: 1.096 MB / 1.421 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.9647, allocations: 9 kB / 1.421 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.9647, allocations: 0 / 1.421 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9647, allocations: 7.984 kB / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.9678, allocations: 2.018 MB / 1.423 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.9678, allocations: 1.156 kB / 1.423 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.9684, allocations: 146.5 kB / 1.423 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.9688, allocations: 77.09 kB / 1.423 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.9689, allocations: 25.02 kB / 1.423 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.9708, allocations: 1.663 MB / 1.425 GB, free: 10.94 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9708, allocations: 0 / 1.425 GB, free: 10.94 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.9729, allocations: 1.026 MB / 1.426 GB, free: 9.902 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.9733, allocations: 280.1 kB / 1.426 GB, free: 9.609 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.9734, allocations: 27.98 kB / 1.426 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.974, allocations: 64.64 kB / 1.426 GB, free: 9.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.9742, allocations: 68.89 kB / 1.426 GB, free: 9.449 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.9743, allocations: 35.98 kB / 1.426 GB, free: 9.414 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005441/0.9748, allocations: 475 kB / 1.427 GB, free: 8.953 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9748, allocations: 0 / 1.427 GB, free: 8.953 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008404/0.9757, allocations: 351.1 kB / 1.427 GB, free: 8.609 MB / 1.123 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.004123/0.9798, allocations: 2.105 MB / 1.429 GB, free: 6.664 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.9815, allocations: 0.828 MB / 1.43 GB, free: 5.824 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9815, allocations: 0 / 1.43 GB, free: 5.824 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.9825, allocations: 0.5316 MB / 1.43 GB, free: 5.281 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.9838, allocations: 308.6 kB / 1.431 GB, free: 5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.9942, allocations: 6.447 MB / 1.437 GB, free: 14.4 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.995, allocations: 1.043 MB / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007813/0.9958, allocations: 274.8 kB / 1.438 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.9964, allocations: 407.3 kB / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of SimCode: time 3.2e-07/0.9964, allocations: 0 / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.586/3.583, allocations: 22.47 MB / 1.46 GB, free: 6.547 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/18.19, allocations: 8.234 kB / 1.46 GB, free: 6.539 MB / 1.154 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=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)